// Lean compiler output
// Module: Lean.Elab.Tactic.Omega.OmegaM
// Imports: public import Lean.Meta.AppBuilder public import Lean.Meta.Canonicalizer
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15;
static lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_intCast_x3f(lean_object*);
lean_object* l_Lean_mkNatLit(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49;
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51;
LEAN_EXPORT lean_object* l_Nat_cast___at___00Lean_Elab_Tactic_Omega_intCast_x3f_spec__0(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90;
static lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4;
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__3;
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29;
lean_object* l_Int_add___boxed(lean_object*, lean_object*);
size_t lean_uint64_to_usize(uint64_t);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_lookup___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofList(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14;
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_natCast_x3f(lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44;
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25;
lean_object* lean_mk_array(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0;
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87;
lean_object* l_Int_ediv___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3___redArg(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8;
uint8_t l_List_isEmpty___redArg(lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
lean_object* l_Nat_sub___boxed(lean_object*, lean_object*);
lean_object* l_Int_sub___boxed(lean_object*, lean_object*);
uint8_t lean_int_dec_le(lean_object*, lean_object*);
lean_object* l_Lean_Level_ofNat(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91;
lean_object* l_Nat_div___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__2;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26;
static uint8_t l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39;
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93;
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_of_nat(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7;
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__5;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35;
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_take(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0;
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12;
uint8_t lean_expr_eqv(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68;
lean_object* lean_nat_div(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_Int_pow(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4;
static lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2___boxed(lean_object*, lean_object*);
double lean_float_of_nat(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88;
lean_object* lean_st_ref_get(lean_object*);
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92;
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__0;
lean_object* lean_st_mk_ref(lean_object*);
lean_object* l_Lean_Meta_mkDecideProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*);
lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58;
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2;
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70;
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0;
uint64_t l_Lean_Expr_hash(lean_object*);
lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71;
static lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73;
static double l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0;
lean_object* l_Nat_mul___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16;
static lean_object* l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
lean_object* l_Nat_add___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__1;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3;
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
lean_object* l_Lean_Meta_mkExpectedPropHint(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67;
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_lookup(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___redArg(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2;
lean_object* lean_array_fget(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34;
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__10(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86;
lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10;
lean_object* l_Int_mul___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f(lean_object*);
uint64_t lean_uint64_xor(uint64_t, uint64_t);
lean_object* l_Int_toNat(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48;
lean_object* l_List_reverse___redArg(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10;
lean_object* lean_nat_sub(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41;
lean_object* lean_nat_mul(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55;
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_int_x3f(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_sub(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53;
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11;
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___redArg___boxed(lean_object*, lean_object*);
size_t lean_array_size(lean_object*);
lean_object* l_Lean_instToExprInt_mkNat(lean_object*);
lean_object* l_Lean_Meta_Canonicalizer_CanonM_run_x27___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2;
lean_object* l_Lean_Expr_getAppFnArgs(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg___boxed(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* lean_int_neg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1;
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61;
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78;
lean_object* l_Lean_Expr_nat_x3f(lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Nat_pow___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27;
static lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59;
size_t lean_usize_land(size_t, size_t);
static lean_object* l_Lean_Elab_Tactic_Omega_lookup___closed__4;
static lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23;
lean_object* l_Lean_Meta_Canonicalizer_canon(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = lean_unsigned_to_nat(16u);
x_3 = lean_mk_array(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_st_mk_ref(x_1);
x_13 = lean_st_mk_ref(x_2);
x_14 = lean_box(x_5);
lean_inc(x_12);
lean_inc(x_13);
x_15 = lean_apply_10(x_3, x_13, x_12, x_4, x_14, x_6, x_7, x_8, x_9, x_10, lean_box(0));
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_st_ref_get(x_13);
lean_dec(x_13);
lean_dec(x_17);
x_18 = lean_st_ref_get(x_12);
lean_dec(x_12);
lean_dec(x_18);
return x_15;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_19 = lean_ctor_get(x_15, 0);
lean_inc(x_19);
lean_dec(x_15);
x_20 = lean_st_ref_get(x_13);
lean_dec(x_13);
lean_dec(x_20);
x_21 = lean_st_ref_get(x_12);
lean_dec(x_12);
lean_dec(x_21);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_19);
return x_22;
}
}
else
{
lean_dec(x_13);
lean_dec(x_12);
return x_15;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1;
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; 
x_8 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1;
x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___lam__0___boxed), 11, 4);
lean_closure_set(x_9, 0, x_8);
lean_closure_set(x_9, 1, x_8);
lean_closure_set(x_9, 2, x_1);
lean_closure_set(x_9, 3, x_2);
x_10 = 3;
x_11 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2;
x_12 = l_Lean_Meta_Canonicalizer_CanonM_run_x27___redArg(x_9, x_10, x_11, x_3, x_4, x_5, x_6);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg(x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Elab_Tactic_Omega_OmegaM_run(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_3);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l_Lean_Elab_Tactic_Omega_cfg(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_cfg___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Elab_Tactic_Omega_cfg___redArg(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_3, x_2, x_7);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_8, x_2, x_6);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_nat_dec_lt(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_nat_dec_lt(x_2, x_3);
if (x_4 == 0)
{
lean_dec(x_2);
return x_1;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___lam__0___boxed), 2, 0);
lean_inc(x_2);
x_6 = l_Array_qpartition___redArg(x_1, x_5, x_2, x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_6, 1);
lean_inc(x_8);
lean_dec_ref(x_6);
x_9 = lean_nat_dec_le(x_3, x_7);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(x_8, x_2, x_7);
x_11 = lean_unsigned_to_nat(1u);
x_12 = lean_nat_add(x_7, x_11);
lean_dec(x_7);
x_1 = x_10;
x_2 = x_12;
goto _start;
}
else
{
lean_dec(x_7);
lean_dec(x_2);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 2);
lean_inc(x_4);
lean_inc(x_3);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
x_7 = lean_array_push(x_1, x_6);
x_1 = x_7;
x_2 = x_5;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2(x_4, x_6);
lean_dec(x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
x_2 = x_9;
x_4 = x_7;
goto _start;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_22; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_3 = lean_st_ref_get(x_1);
x_30 = lean_ctor_get(x_3, 0);
lean_inc(x_30);
x_31 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_31);
lean_dec(x_3);
x_32 = lean_mk_empty_array_with_capacity(x_30);
lean_dec(x_30);
x_33 = lean_unsigned_to_nat(0u);
x_34 = lean_array_get_size(x_31);
x_35 = lean_nat_dec_lt(x_33, x_34);
if (x_35 == 0)
{
lean_dec(x_34);
lean_dec_ref(x_31);
x_22 = x_32;
goto block_29;
}
else
{
uint8_t x_36; 
x_36 = lean_nat_dec_le(x_34, x_34);
if (x_36 == 0)
{
lean_dec(x_34);
lean_dec_ref(x_31);
x_22 = x_32;
goto block_29;
}
else
{
size_t x_37; size_t x_38; lean_object* x_39; 
x_37 = 0;
x_38 = lean_usize_of_nat(x_34);
lean_dec(x_34);
x_39 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3(x_31, x_37, x_38, x_32);
lean_dec_ref(x_31);
x_22 = x_39;
goto block_29;
}
}
block_9:
{
size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_array_size(x_4);
x_6 = 0;
x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0(x_5, x_6, x_4);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
block_15:
{
lean_object* x_14; 
lean_dec(x_11);
x_14 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(x_12, x_10, x_13);
lean_dec(x_13);
x_4 = x_14;
goto block_9;
}
block_21:
{
uint8_t x_20; 
x_20 = lean_nat_dec_le(x_19, x_18);
if (x_20 == 0)
{
lean_dec(x_18);
lean_inc(x_19);
x_10 = x_19;
x_11 = x_16;
x_12 = x_17;
x_13 = x_19;
goto block_15;
}
else
{
x_10 = x_19;
x_11 = x_16;
x_12 = x_17;
x_13 = x_18;
goto block_15;
}
}
block_29:
{
lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_23 = lean_array_get_size(x_22);
x_24 = lean_unsigned_to_nat(0u);
x_25 = lean_nat_dec_eq(x_23, x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_26 = lean_unsigned_to_nat(1u);
x_27 = lean_nat_sub(x_23, x_26);
x_28 = lean_nat_dec_le(x_24, x_27);
if (x_28 == 0)
{
lean_inc(x_27);
x_16 = x_23;
x_17 = x_22;
x_18 = x_27;
x_19 = x_27;
goto block_21;
}
else
{
x_16 = x_23;
x_17 = x_22;
x_18 = x_27;
x_19 = x_24;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_4 = x_22;
goto block_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Elab_Tactic_Omega_atoms___redArg(x_2);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(x_2, x_3, x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l_Lean_Elab_Tactic_Omega_atoms(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Elab_Tactic_Omega_atoms_spec__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Omega_atoms_spec__3(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Omega_atoms_spec__0(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Elab_Tactic_Omega_atoms_spec__1___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atoms___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Elab_Tactic_Omega_atoms___redArg(x_1);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Int", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = l_Lean_Elab_Tactic_Omega_atoms___redArg(x_1);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec_ref(x_7);
x_9 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_10 = lean_array_to_list(x_8);
x_11 = l_Lean_Meta_mkListLit(x_9, x_10, x_2, x_3, x_4, x_5);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Elab_Tactic_Omega_atomsList___redArg(x_2, x_6, x_7, x_8, x_9);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l_Lean_Elab_Tactic_Omega_atomsList(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_5);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsList___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Elab_Tactic_Omega_atomsList___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_1);
return x_7;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ofList", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Coeffs", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Omega", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3;
x_2 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Elab_Tactic_Omega_atomsList___redArg(x_1, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5;
x_11 = l_Lean_Expr_app___override(x_10, x_9);
lean_ctor_set(x_7, 0, x_11);
return x_7;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_ctor_get(x_7, 0);
lean_inc(x_12);
lean_dec(x_7);
x_13 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5;
x_14 = l_Lean_Expr_app___override(x_13, x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg(x_2, x_6, x_7, x_8, x_9);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l_Lean_Elab_Tactic_Omega_atomsCoeffs(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_5);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_st_ref_get(x_3);
x_13 = lean_st_ref_get(x_2);
x_14 = lean_box(x_5);
lean_inc(x_3);
lean_inc(x_2);
x_15 = lean_apply_10(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, lean_box(0));
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_17, 1);
x_19 = lean_unbox(x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_20 = lean_ctor_get(x_17, 0);
lean_inc(x_20);
lean_dec(x_17);
x_21 = lean_st_ref_take(x_3);
lean_dec(x_21);
x_22 = lean_st_ref_set(x_3, x_12);
lean_dec(x_3);
x_23 = lean_st_ref_take(x_2);
lean_dec(x_23);
x_24 = lean_st_ref_set(x_2, x_13);
lean_dec(x_2);
lean_ctor_set(x_15, 0, x_20);
return x_15;
}
else
{
lean_object* x_25; 
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_25 = lean_ctor_get(x_17, 0);
lean_inc(x_25);
lean_dec(x_17);
lean_ctor_set(x_15, 0, x_25);
return x_15;
}
}
else
{
lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_26 = lean_ctor_get(x_15, 0);
lean_inc(x_26);
lean_dec(x_15);
x_27 = lean_ctor_get(x_26, 1);
x_28 = lean_unbox(x_27);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_29 = lean_ctor_get(x_26, 0);
lean_inc(x_29);
lean_dec(x_26);
x_30 = lean_st_ref_take(x_3);
lean_dec(x_30);
x_31 = lean_st_ref_set(x_3, x_12);
lean_dec(x_3);
x_32 = lean_st_ref_take(x_2);
lean_dec(x_32);
x_33 = lean_st_ref_set(x_2, x_13);
lean_dec(x_2);
x_34 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_34, 0, x_29);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; 
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_35 = lean_ctor_get(x_26, 0);
lean_inc(x_35);
lean_dec(x_26);
x_36 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_36, 0, x_35);
return x_36;
}
}
}
else
{
uint8_t x_37; 
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_37 = !lean_is_exclusive(x_15);
if (x_37 == 0)
{
return x_15;
}
else
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_15, 0);
lean_inc(x_38);
lean_dec(x_15);
x_39 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Elab_Tactic_Omega_commitWhen___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; lean_object* x_14; 
x_13 = lean_unbox(x_6);
x_14 = l_Lean_Elab_Tactic_Omega_commitWhen(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_commitWhen___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_commitWhen___redArg(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_box(x_5);
x_13 = lean_apply_10(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, lean_box(0));
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_13, 0);
x_16 = 0;
x_17 = lean_box(x_16);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_15);
lean_ctor_set(x_18, 1, x_17);
lean_ctor_set(x_13, 0, x_18);
return x_13;
}
else
{
lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_19 = lean_ctor_get(x_13, 0);
lean_inc(x_19);
lean_dec(x_13);
x_20 = 0;
x_21 = lean_box(x_20);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_19);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_23, 0, x_22);
return x_23;
}
}
else
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_13);
if (x_24 == 0)
{
return x_13;
}
else
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_13, 0);
lean_inc(x_25);
lean_dec(x_13);
x_26 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___lam__0___boxed), 11, 1);
lean_closure_set(x_12, 0, x_1);
x_13 = l_Lean_Elab_Tactic_Omega_commitWhen___redArg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; lean_object* x_14; 
x_13 = lean_unbox(x_6);
x_14 = l_Lean_Elab_Tactic_Omega_withoutModifyingState(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_withoutModifyingState___redArg(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Nat", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("cast", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_natCast_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
lean_inc_ref(x_1);
x_2 = l_Lean_Expr_getAppFnArgs(x_1);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_4, 0);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_7);
lean_dec_ref(x_3);
x_8 = lean_ctor_get(x_4, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_4);
x_9 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_10 = lean_string_dec_eq(x_8, x_9);
lean_dec_ref(x_8);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec_ref(x_7);
lean_dec(x_6);
x_11 = l_Lean_Expr_nat_x3f(x_1);
return x_11;
}
else
{
lean_object* x_12; uint8_t x_13; 
x_12 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_13 = lean_string_dec_eq(x_7, x_12);
lean_dec_ref(x_7);
if (x_13 == 0)
{
lean_object* x_14; 
lean_dec(x_6);
x_14 = l_Lean_Expr_nat_x3f(x_1);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_15 = lean_array_get_size(x_6);
x_16 = lean_unsigned_to_nat(3u);
x_17 = lean_nat_dec_eq(x_15, x_16);
lean_dec(x_15);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_6);
x_18 = l_Lean_Expr_nat_x3f(x_1);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec_ref(x_1);
x_19 = lean_unsigned_to_nat(2u);
x_20 = lean_array_fget(x_6, x_19);
lean_dec(x_6);
x_21 = l_Lean_Expr_nat_x3f(x_20);
return x_21;
}
}
}
}
else
{
lean_object* x_22; 
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_22 = l_Lean_Expr_nat_x3f(x_1);
return x_22;
}
}
else
{
lean_object* x_23; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_23 = l_Lean_Expr_nat_x3f(x_1);
return x_23;
}
}
else
{
lean_object* x_24; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_24 = l_Lean_Expr_nat_x3f(x_1);
return x_24;
}
}
}
LEAN_EXPORT lean_object* l_Nat_cast___at___00Lean_Elab_Tactic_Omega_intCast_x3f_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_intCast_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
lean_inc_ref(x_1);
x_2 = l_Lean_Expr_getAppFnArgs(x_1);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_4, 0);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_7);
lean_dec_ref(x_3);
x_8 = lean_ctor_get(x_4, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_4);
x_9 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_10 = lean_string_dec_eq(x_8, x_9);
lean_dec_ref(x_8);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec_ref(x_7);
lean_dec(x_6);
x_11 = l_Lean_Expr_int_x3f(x_1);
return x_11;
}
else
{
lean_object* x_12; uint8_t x_13; 
x_12 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_13 = lean_string_dec_eq(x_7, x_12);
lean_dec_ref(x_7);
if (x_13 == 0)
{
lean_object* x_14; 
lean_dec(x_6);
x_14 = l_Lean_Expr_int_x3f(x_1);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_15 = lean_array_get_size(x_6);
x_16 = lean_unsigned_to_nat(3u);
x_17 = lean_nat_dec_eq(x_15, x_16);
lean_dec(x_15);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_6);
x_18 = l_Lean_Expr_int_x3f(x_1);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec_ref(x_1);
x_19 = lean_unsigned_to_nat(2u);
x_20 = lean_array_fget(x_6, x_19);
lean_dec(x_6);
x_21 = l_Lean_Expr_nat_x3f(x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; 
x_22 = lean_box(0);
return x_22;
}
else
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_21);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_ctor_get(x_21, 0);
x_25 = lean_nat_to_int(x_24);
lean_ctor_set(x_21, 0, x_25);
return x_21;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_21, 0);
lean_inc(x_26);
lean_dec(x_21);
x_27 = lean_nat_to_int(x_26);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
}
}
}
}
else
{
lean_object* x_29; 
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_29 = l_Lean_Expr_int_x3f(x_1);
return x_29;
}
}
else
{
lean_object* x_30; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_30 = l_Lean_Expr_int_x3f(x_1);
return x_30;
}
}
else
{
lean_object* x_31; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_31 = l_Lean_Expr_int_x3f(x_1);
return x_31;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HAdd", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HMul", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HSub", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HDiv", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HPow", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hPow", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_pow___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hDiv", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_div___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hSub", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_sub___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hMul", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_mul___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hAdd", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_add___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_groundNat_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
lean_inc_ref(x_1);
x_2 = l_Lean_Expr_getAppFnArgs(x_1);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_4, 0);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_7);
lean_dec_ref(x_3);
x_8 = lean_ctor_get(x_4, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_4);
x_9 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_10 = lean_string_dec_eq(x_8, x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0;
x_12 = lean_string_dec_eq(x_8, x_11);
if (x_12 == 0)
{
lean_object* x_13; uint8_t x_14; 
x_13 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1;
x_14 = lean_string_dec_eq(x_8, x_13);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2;
x_16 = lean_string_dec_eq(x_8, x_15);
if (x_16 == 0)
{
lean_object* x_17; uint8_t x_18; 
x_17 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3;
x_18 = lean_string_dec_eq(x_8, x_17);
if (x_18 == 0)
{
lean_object* x_19; uint8_t x_20; 
x_19 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4;
x_20 = lean_string_dec_eq(x_8, x_19);
lean_dec_ref(x_8);
if (x_20 == 0)
{
lean_object* x_21; 
lean_dec_ref(x_7);
lean_dec(x_6);
x_21 = l_Lean_Expr_nat_x3f(x_1);
return x_21;
}
else
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
x_23 = lean_string_dec_eq(x_7, x_22);
lean_dec_ref(x_7);
if (x_23 == 0)
{
lean_object* x_24; 
lean_dec(x_6);
x_24 = l_Lean_Expr_nat_x3f(x_1);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_array_get_size(x_6);
x_26 = lean_unsigned_to_nat(6u);
x_27 = lean_nat_dec_eq(x_25, x_26);
lean_dec(x_25);
if (x_27 == 0)
{
lean_object* x_28; 
lean_dec(x_6);
x_28 = l_Lean_Expr_nat_x3f(x_1);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_dec_ref(x_1);
x_29 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6;
x_30 = lean_unsigned_to_nat(4u);
x_31 = lean_array_fget(x_6, x_30);
x_32 = lean_unsigned_to_nat(5u);
x_33 = lean_array_fget(x_6, x_32);
lean_dec(x_6);
x_34 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(x_29, x_31, x_33);
return x_34;
}
}
}
}
else
{
lean_object* x_35; uint8_t x_36; 
lean_dec_ref(x_8);
x_35 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7;
x_36 = lean_string_dec_eq(x_7, x_35);
lean_dec_ref(x_7);
if (x_36 == 0)
{
lean_object* x_37; 
lean_dec(x_6);
x_37 = l_Lean_Expr_nat_x3f(x_1);
return x_37;
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_array_get_size(x_6);
x_39 = lean_unsigned_to_nat(6u);
x_40 = lean_nat_dec_eq(x_38, x_39);
lean_dec(x_38);
if (x_40 == 0)
{
lean_object* x_41; 
lean_dec(x_6);
x_41 = l_Lean_Expr_nat_x3f(x_1);
return x_41;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec_ref(x_1);
x_42 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8;
x_43 = lean_unsigned_to_nat(4u);
x_44 = lean_array_fget(x_6, x_43);
x_45 = lean_unsigned_to_nat(5u);
x_46 = lean_array_fget(x_6, x_45);
lean_dec(x_6);
x_47 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(x_42, x_44, x_46);
return x_47;
}
}
}
}
else
{
lean_object* x_48; uint8_t x_49; 
lean_dec_ref(x_8);
x_48 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9;
x_49 = lean_string_dec_eq(x_7, x_48);
lean_dec_ref(x_7);
if (x_49 == 0)
{
lean_object* x_50; 
lean_dec(x_6);
x_50 = l_Lean_Expr_nat_x3f(x_1);
return x_50;
}
else
{
lean_object* x_51; lean_object* x_52; uint8_t x_53; 
x_51 = lean_array_get_size(x_6);
x_52 = lean_unsigned_to_nat(6u);
x_53 = lean_nat_dec_eq(x_51, x_52);
lean_dec(x_51);
if (x_53 == 0)
{
lean_object* x_54; 
lean_dec(x_6);
x_54 = l_Lean_Expr_nat_x3f(x_1);
return x_54;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
lean_dec_ref(x_1);
x_55 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10;
x_56 = lean_unsigned_to_nat(4u);
x_57 = lean_array_fget(x_6, x_56);
x_58 = lean_unsigned_to_nat(5u);
x_59 = lean_array_fget(x_6, x_58);
lean_dec(x_6);
x_60 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(x_55, x_57, x_59);
return x_60;
}
}
}
}
else
{
lean_object* x_61; uint8_t x_62; 
lean_dec_ref(x_8);
x_61 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11;
x_62 = lean_string_dec_eq(x_7, x_61);
lean_dec_ref(x_7);
if (x_62 == 0)
{
lean_object* x_63; 
lean_dec(x_6);
x_63 = l_Lean_Expr_nat_x3f(x_1);
return x_63;
}
else
{
lean_object* x_64; lean_object* x_65; uint8_t x_66; 
x_64 = lean_array_get_size(x_6);
x_65 = lean_unsigned_to_nat(6u);
x_66 = lean_nat_dec_eq(x_64, x_65);
lean_dec(x_64);
if (x_66 == 0)
{
lean_object* x_67; 
lean_dec(x_6);
x_67 = l_Lean_Expr_nat_x3f(x_1);
return x_67;
}
else
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
lean_dec_ref(x_1);
x_68 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12;
x_69 = lean_unsigned_to_nat(4u);
x_70 = lean_array_fget(x_6, x_69);
x_71 = lean_unsigned_to_nat(5u);
x_72 = lean_array_fget(x_6, x_71);
lean_dec(x_6);
x_73 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(x_68, x_70, x_72);
return x_73;
}
}
}
}
else
{
lean_object* x_74; uint8_t x_75; 
lean_dec_ref(x_8);
x_74 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13;
x_75 = lean_string_dec_eq(x_7, x_74);
lean_dec_ref(x_7);
if (x_75 == 0)
{
lean_object* x_76; 
lean_dec(x_6);
x_76 = l_Lean_Expr_nat_x3f(x_1);
return x_76;
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_array_get_size(x_6);
x_78 = lean_unsigned_to_nat(6u);
x_79 = lean_nat_dec_eq(x_77, x_78);
lean_dec(x_77);
if (x_79 == 0)
{
lean_object* x_80; 
lean_dec(x_6);
x_80 = l_Lean_Expr_nat_x3f(x_1);
return x_80;
}
else
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
lean_dec_ref(x_1);
x_81 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14;
x_82 = lean_unsigned_to_nat(4u);
x_83 = lean_array_fget(x_6, x_82);
x_84 = lean_unsigned_to_nat(5u);
x_85 = lean_array_fget(x_6, x_84);
lean_dec(x_6);
x_86 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(x_81, x_83, x_85);
return x_86;
}
}
}
}
else
{
lean_object* x_87; uint8_t x_88; 
lean_dec_ref(x_8);
x_87 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_88 = lean_string_dec_eq(x_7, x_87);
lean_dec_ref(x_7);
if (x_88 == 0)
{
lean_object* x_89; 
lean_dec(x_6);
x_89 = l_Lean_Expr_nat_x3f(x_1);
return x_89;
}
else
{
lean_object* x_90; lean_object* x_91; uint8_t x_92; 
x_90 = lean_array_get_size(x_6);
x_91 = lean_unsigned_to_nat(3u);
x_92 = lean_nat_dec_eq(x_90, x_91);
lean_dec(x_90);
if (x_92 == 0)
{
lean_object* x_93; 
lean_dec(x_6);
x_93 = l_Lean_Expr_nat_x3f(x_1);
return x_93;
}
else
{
lean_object* x_94; lean_object* x_95; 
lean_dec_ref(x_1);
x_94 = lean_unsigned_to_nat(2u);
x_95 = lean_array_fget(x_6, x_94);
lean_dec(x_6);
x_1 = x_95;
goto _start;
}
}
}
}
else
{
lean_object* x_97; 
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_97 = l_Lean_Expr_nat_x3f(x_1);
return x_97;
}
}
else
{
lean_object* x_98; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_98 = l_Lean_Expr_nat_x3f(x_1);
return x_98;
}
}
else
{
lean_object* x_99; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_99 = l_Lean_Expr_nat_x3f(x_1);
return x_99;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundNat_x3f_op(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_2);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
lean_dec_ref(x_4);
x_6 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_3);
if (lean_obj_tag(x_6) == 1)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = lean_apply_2(x_1, x_5, x_8);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_apply_2(x_1, x_5, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
else
{
lean_object* x_13; 
lean_dec(x_6);
lean_dec(x_5);
lean_dec_ref(x_1);
x_13 = lean_box(0);
return x_13;
}
}
else
{
lean_object* x_14; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_14 = lean_box(0);
return x_14;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Int_ediv___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Int_sub___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Int_mul___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Int_add___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_groundInt_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
lean_inc_ref(x_1);
x_2 = l_Lean_Expr_getAppFnArgs(x_1);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_4, 0);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_7);
lean_dec_ref(x_3);
x_8 = lean_ctor_get(x_4, 1);
lean_inc_ref(x_8);
lean_dec_ref(x_4);
x_9 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_10 = lean_string_dec_eq(x_8, x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0;
x_12 = lean_string_dec_eq(x_8, x_11);
if (x_12 == 0)
{
lean_object* x_13; uint8_t x_14; 
x_13 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1;
x_14 = lean_string_dec_eq(x_8, x_13);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2;
x_16 = lean_string_dec_eq(x_8, x_15);
if (x_16 == 0)
{
lean_object* x_17; uint8_t x_18; 
x_17 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3;
x_18 = lean_string_dec_eq(x_8, x_17);
if (x_18 == 0)
{
lean_object* x_19; uint8_t x_20; 
x_19 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4;
x_20 = lean_string_dec_eq(x_8, x_19);
lean_dec_ref(x_8);
if (x_20 == 0)
{
lean_object* x_21; 
lean_dec_ref(x_7);
lean_dec(x_6);
x_21 = l_Lean_Expr_int_x3f(x_1);
return x_21;
}
else
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
x_23 = lean_string_dec_eq(x_7, x_22);
lean_dec_ref(x_7);
if (x_23 == 0)
{
lean_object* x_24; 
lean_dec(x_6);
x_24 = l_Lean_Expr_int_x3f(x_1);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_array_get_size(x_6);
x_26 = lean_unsigned_to_nat(6u);
x_27 = lean_nat_dec_eq(x_25, x_26);
lean_dec(x_25);
if (x_27 == 0)
{
lean_object* x_28; 
lean_dec(x_6);
x_28 = l_Lean_Expr_int_x3f(x_1);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec_ref(x_1);
x_29 = lean_unsigned_to_nat(4u);
x_30 = lean_array_fget_borrowed(x_6, x_29);
lean_inc(x_30);
x_31 = l_Lean_Elab_Tactic_Omega_groundInt_x3f(x_30);
if (lean_obj_tag(x_31) == 1)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = lean_unsigned_to_nat(5u);
x_34 = lean_array_fget(x_6, x_33);
lean_dec(x_6);
x_35 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_34);
if (lean_obj_tag(x_35) == 1)
{
uint8_t x_36; 
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_35, 0);
x_38 = l_Int_pow(x_32, x_37);
lean_dec(x_37);
lean_dec(x_32);
lean_ctor_set(x_35, 0, x_38);
return x_35;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_39 = lean_ctor_get(x_35, 0);
lean_inc(x_39);
lean_dec(x_35);
x_40 = l_Int_pow(x_32, x_39);
lean_dec(x_39);
lean_dec(x_32);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_40);
return x_41;
}
}
else
{
lean_object* x_42; 
lean_dec(x_35);
lean_dec(x_32);
x_42 = lean_box(0);
return x_42;
}
}
else
{
lean_object* x_43; 
lean_dec(x_31);
lean_dec(x_6);
x_43 = lean_box(0);
return x_43;
}
}
}
}
}
else
{
lean_object* x_44; uint8_t x_45; 
lean_dec_ref(x_8);
x_44 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7;
x_45 = lean_string_dec_eq(x_7, x_44);
lean_dec_ref(x_7);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec(x_6);
x_46 = l_Lean_Expr_int_x3f(x_1);
return x_46;
}
else
{
lean_object* x_47; lean_object* x_48; uint8_t x_49; 
x_47 = lean_array_get_size(x_6);
x_48 = lean_unsigned_to_nat(6u);
x_49 = lean_nat_dec_eq(x_47, x_48);
lean_dec(x_47);
if (x_49 == 0)
{
lean_object* x_50; 
lean_dec(x_6);
x_50 = l_Lean_Expr_int_x3f(x_1);
return x_50;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
lean_dec_ref(x_1);
x_51 = l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0;
x_52 = lean_unsigned_to_nat(4u);
x_53 = lean_array_fget(x_6, x_52);
x_54 = lean_unsigned_to_nat(5u);
x_55 = lean_array_fget(x_6, x_54);
lean_dec(x_6);
x_56 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(x_51, x_53, x_55);
return x_56;
}
}
}
}
else
{
lean_object* x_57; uint8_t x_58; 
lean_dec_ref(x_8);
x_57 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9;
x_58 = lean_string_dec_eq(x_7, x_57);
lean_dec_ref(x_7);
if (x_58 == 0)
{
lean_object* x_59; 
lean_dec(x_6);
x_59 = l_Lean_Expr_int_x3f(x_1);
return x_59;
}
else
{
lean_object* x_60; lean_object* x_61; uint8_t x_62; 
x_60 = lean_array_get_size(x_6);
x_61 = lean_unsigned_to_nat(6u);
x_62 = lean_nat_dec_eq(x_60, x_61);
lean_dec(x_60);
if (x_62 == 0)
{
lean_object* x_63; 
lean_dec(x_6);
x_63 = l_Lean_Expr_int_x3f(x_1);
return x_63;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 
lean_dec_ref(x_1);
x_64 = l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1;
x_65 = lean_unsigned_to_nat(4u);
x_66 = lean_array_fget(x_6, x_65);
x_67 = lean_unsigned_to_nat(5u);
x_68 = lean_array_fget(x_6, x_67);
lean_dec(x_6);
x_69 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(x_64, x_66, x_68);
return x_69;
}
}
}
}
else
{
lean_object* x_70; uint8_t x_71; 
lean_dec_ref(x_8);
x_70 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11;
x_71 = lean_string_dec_eq(x_7, x_70);
lean_dec_ref(x_7);
if (x_71 == 0)
{
lean_object* x_72; 
lean_dec(x_6);
x_72 = l_Lean_Expr_int_x3f(x_1);
return x_72;
}
else
{
lean_object* x_73; lean_object* x_74; uint8_t x_75; 
x_73 = lean_array_get_size(x_6);
x_74 = lean_unsigned_to_nat(6u);
x_75 = lean_nat_dec_eq(x_73, x_74);
lean_dec(x_73);
if (x_75 == 0)
{
lean_object* x_76; 
lean_dec(x_6);
x_76 = l_Lean_Expr_int_x3f(x_1);
return x_76;
}
else
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_dec_ref(x_1);
x_77 = l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2;
x_78 = lean_unsigned_to_nat(4u);
x_79 = lean_array_fget(x_6, x_78);
x_80 = lean_unsigned_to_nat(5u);
x_81 = lean_array_fget(x_6, x_80);
lean_dec(x_6);
x_82 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(x_77, x_79, x_81);
return x_82;
}
}
}
}
else
{
lean_object* x_83; uint8_t x_84; 
lean_dec_ref(x_8);
x_83 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13;
x_84 = lean_string_dec_eq(x_7, x_83);
lean_dec_ref(x_7);
if (x_84 == 0)
{
lean_object* x_85; 
lean_dec(x_6);
x_85 = l_Lean_Expr_int_x3f(x_1);
return x_85;
}
else
{
lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_86 = lean_array_get_size(x_6);
x_87 = lean_unsigned_to_nat(6u);
x_88 = lean_nat_dec_eq(x_86, x_87);
lean_dec(x_86);
if (x_88 == 0)
{
lean_object* x_89; 
lean_dec(x_6);
x_89 = l_Lean_Expr_int_x3f(x_1);
return x_89;
}
else
{
lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 
lean_dec_ref(x_1);
x_90 = l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3;
x_91 = lean_unsigned_to_nat(4u);
x_92 = lean_array_fget(x_6, x_91);
x_93 = lean_unsigned_to_nat(5u);
x_94 = lean_array_fget(x_6, x_93);
lean_dec(x_6);
x_95 = l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(x_90, x_92, x_94);
return x_95;
}
}
}
}
else
{
lean_object* x_96; uint8_t x_97; 
lean_dec_ref(x_8);
x_96 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_97 = lean_string_dec_eq(x_7, x_96);
lean_dec_ref(x_7);
if (x_97 == 0)
{
lean_object* x_98; 
lean_dec(x_6);
x_98 = l_Lean_Expr_int_x3f(x_1);
return x_98;
}
else
{
lean_object* x_99; lean_object* x_100; uint8_t x_101; 
x_99 = lean_array_get_size(x_6);
x_100 = lean_unsigned_to_nat(3u);
x_101 = lean_nat_dec_eq(x_99, x_100);
lean_dec(x_99);
if (x_101 == 0)
{
lean_object* x_102; 
lean_dec(x_6);
x_102 = l_Lean_Expr_int_x3f(x_1);
return x_102;
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; 
lean_dec_ref(x_1);
x_103 = lean_unsigned_to_nat(2u);
x_104 = lean_array_fget(x_6, x_103);
lean_dec(x_6);
x_105 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_104);
if (lean_obj_tag(x_105) == 0)
{
lean_object* x_106; 
x_106 = lean_box(0);
return x_106;
}
else
{
uint8_t x_107; 
x_107 = !lean_is_exclusive(x_105);
if (x_107 == 0)
{
lean_object* x_108; lean_object* x_109; 
x_108 = lean_ctor_get(x_105, 0);
x_109 = lean_nat_to_int(x_108);
lean_ctor_set(x_105, 0, x_109);
return x_105;
}
else
{
lean_object* x_110; lean_object* x_111; lean_object* x_112; 
x_110 = lean_ctor_get(x_105, 0);
lean_inc(x_110);
lean_dec(x_105);
x_111 = lean_nat_to_int(x_110);
x_112 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_112, 0, x_111);
return x_112;
}
}
}
}
}
}
else
{
lean_object* x_113; 
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_113 = l_Lean_Expr_int_x3f(x_1);
return x_113;
}
}
else
{
lean_object* x_114; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_114 = l_Lean_Expr_int_x3f(x_1);
return x_114;
}
}
else
{
lean_object* x_115; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_115 = l_Lean_Expr_int_x3f(x_1);
return x_115;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Omega_OmegaM_0__Lean_Elab_Tactic_Omega_groundInt_x3f_op(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Elab_Tactic_Omega_groundInt_x3f(x_2);
if (lean_obj_tag(x_4) == 1)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
lean_dec_ref(x_4);
x_6 = l_Lean_Elab_Tactic_Omega_groundInt_x3f(x_3);
if (lean_obj_tag(x_6) == 1)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = lean_apply_2(x_1, x_5, x_8);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_apply_2(x_1, x_5, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
else
{
lean_object* x_13; 
lean_dec(x_6);
lean_dec(x_5);
lean_dec_ref(x_1);
x_13 = lean_box(0);
return x_13;
}
}
else
{
lean_object* x_14; 
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_14 = lean_box(0);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_8 = l_Lean_Meta_mkEqRefl(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec_ref(x_8);
x_10 = l_Lean_Meta_mkEq(x_1, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = l_Lean_Meta_mkExpectedPropHint(x_9, x_12);
lean_ctor_set(x_10, 0, x_13);
return x_10;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = l_Lean_Meta_mkExpectedPropHint(x_9, x_14);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
lean_dec(x_9);
return x_10;
}
}
else
{
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("HMod", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Min", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Max", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("max", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("le_max_left", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("le_max_right", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("min", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("min_le_left", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("min_le_right", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hMod", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("emod_ofNat_nonneg", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lt", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LT", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Level_ofNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instLTNat", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_mkNatLit(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pow_pos", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28;
x_2 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ofNat_pos_of_pos", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("emod_nonneg", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ne_of_gt", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("emod_lt_of_pos", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static uint8_t _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38;
x_2 = lean_int_dec_le(x_1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("neg", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Neg", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instNegInt", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38;
x_2 = lean_int_neg(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45;
x_2 = l_Int_toNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46;
x_2 = l_Lean_instToExprInt_mkNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38;
x_2 = l_Int_toNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48;
x_2 = l_Lean_instToExprInt_mkNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instLTInt", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pos_pow_of_pos", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62;
x_3 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_4 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61;
x_5 = l_Lean_mkApp3(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = l_Lean_Level_ofNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Ne", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mul_ediv_self_le", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lt_mul_ediv_self_add", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("neg_le_natAbs", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
LEAN_EXPORT uint8_t l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 0;
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_expr_eqv(x_1, x_4);
if (x_6 == 0)
{
x_2 = x_5;
goto _start;
}
else
{
return x_6;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ofNat_nonneg", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isLt", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("BitVec", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Fin", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("le_natAbs", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("toNat", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("val", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("natAbs", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ofNat_sub_dichotomy", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89;
x_2 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_4 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ite", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ite_disjunction", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92;
x_2 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1;
x_3 = l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50;
x_2 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_12; lean_object* x_16; lean_object* x_20; lean_object* x_24; lean_object* x_28; lean_object* x_32; lean_object* x_33; 
x_32 = l_Lean_Expr_getAppFnArgs(x_1);
x_33 = lean_ctor_get(x_32, 0);
lean_inc(x_33);
if (lean_obj_tag(x_33) == 1)
{
lean_object* x_34; 
x_34 = lean_ctor_get(x_33, 0);
switch (lean_obj_tag(x_34)) {
case 1:
{
lean_object* x_35; 
lean_inc_ref(x_34);
x_35 = lean_ctor_get(x_34, 0);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; 
x_36 = lean_ctor_get(x_32, 1);
lean_inc(x_36);
if (lean_is_exclusive(x_32)) {
 lean_ctor_release(x_32, 0);
 lean_ctor_release(x_32, 1);
 x_37 = x_32;
} else {
 lean_dec_ref(x_32);
 x_37 = lean_box(0);
}
x_38 = lean_ctor_get(x_33, 1);
lean_inc_ref(x_38);
lean_dec_ref(x_33);
x_39 = lean_ctor_get(x_34, 1);
lean_inc_ref(x_39);
lean_dec_ref(x_34);
x_40 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0;
x_41 = lean_string_dec_eq(x_39, x_40);
if (x_41 == 0)
{
lean_object* x_42; uint8_t x_43; 
x_42 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3;
x_43 = lean_string_dec_eq(x_39, x_42);
if (x_43 == 0)
{
lean_object* x_44; uint8_t x_45; 
x_44 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0;
x_45 = lean_string_dec_eq(x_39, x_44);
if (x_45 == 0)
{
lean_object* x_46; uint8_t x_47; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_46 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1;
x_47 = lean_string_dec_eq(x_39, x_46);
if (x_47 == 0)
{
lean_object* x_48; uint8_t x_49; 
x_48 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2;
x_49 = lean_string_dec_eq(x_39, x_48);
lean_dec_ref(x_39);
if (x_49 == 0)
{
lean_dec_ref(x_38);
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_50; uint8_t x_51; 
x_50 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3;
x_51 = lean_string_dec_eq(x_38, x_50);
lean_dec_ref(x_38);
if (x_51 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_52 = lean_array_get_size(x_36);
x_53 = lean_unsigned_to_nat(4u);
x_54 = lean_nat_dec_eq(x_52, x_53);
lean_dec(x_52);
if (x_54 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
x_55 = lean_unsigned_to_nat(2u);
x_56 = lean_array_fget(x_36, x_55);
x_57 = lean_unsigned_to_nat(3u);
x_58 = lean_array_fget(x_36, x_57);
lean_dec(x_36);
x_59 = lean_box(0);
x_60 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6;
lean_inc(x_58);
lean_inc(x_56);
x_61 = l_Lean_mkAppB(x_60, x_56, x_58);
x_62 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9;
x_63 = l_Lean_mkAppB(x_62, x_56, x_58);
if (lean_is_scalar(x_37)) {
 x_64 = lean_alloc_ctor(1, 2, 0);
} else {
 x_64 = x_37;
 lean_ctor_set_tag(x_64, 1);
}
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_59);
x_65 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_65, 0, x_61);
lean_ctor_set(x_65, 1, x_64);
x_66 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_66, 0, x_65);
return x_66;
}
}
}
}
else
{
lean_object* x_67; uint8_t x_68; 
lean_dec_ref(x_39);
x_67 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10;
x_68 = lean_string_dec_eq(x_38, x_67);
lean_dec_ref(x_38);
if (x_68 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_69; lean_object* x_70; uint8_t x_71; 
x_69 = lean_array_get_size(x_36);
x_70 = lean_unsigned_to_nat(4u);
x_71 = lean_nat_dec_eq(x_69, x_70);
lean_dec(x_69);
if (x_71 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_72 = lean_unsigned_to_nat(2u);
x_73 = lean_array_fget(x_36, x_72);
x_74 = lean_unsigned_to_nat(3u);
x_75 = lean_array_fget(x_36, x_74);
lean_dec(x_36);
x_76 = lean_box(0);
x_77 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13;
lean_inc(x_75);
lean_inc(x_73);
x_78 = l_Lean_mkAppB(x_77, x_73, x_75);
x_79 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16;
x_80 = l_Lean_mkAppB(x_79, x_73, x_75);
if (lean_is_scalar(x_37)) {
 x_81 = lean_alloc_ctor(1, 2, 0);
} else {
 x_81 = x_37;
 lean_ctor_set_tag(x_81, 1);
}
lean_ctor_set(x_81, 0, x_80);
lean_ctor_set(x_81, 1, x_76);
x_82 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_82, 0, x_78);
lean_ctor_set(x_82, 1, x_81);
x_83 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
}
}
}
else
{
lean_object* x_84; uint8_t x_85; 
lean_dec_ref(x_39);
x_84 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17;
x_85 = lean_string_dec_eq(x_38, x_84);
lean_dec_ref(x_38);
if (x_85 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_86 = lean_array_get_size(x_36);
x_87 = lean_unsigned_to_nat(6u);
x_88 = lean_nat_dec_eq(x_86, x_87);
lean_dec(x_86);
if (x_88 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
x_89 = lean_unsigned_to_nat(5u);
x_90 = lean_array_fget(x_36, x_89);
lean_inc(x_90);
x_91 = l_Lean_Expr_getAppFnArgs(x_90);
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
if (lean_obj_tag(x_92) == 1)
{
lean_object* x_93; 
x_93 = lean_ctor_get(x_92, 0);
lean_inc(x_93);
if (lean_obj_tag(x_93) == 1)
{
lean_object* x_94; 
x_94 = lean_ctor_get(x_93, 0);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_158; uint8_t x_159; 
x_95 = lean_ctor_get(x_91, 1);
lean_inc(x_95);
if (lean_is_exclusive(x_91)) {
 lean_ctor_release(x_91, 0);
 lean_ctor_release(x_91, 1);
 x_96 = x_91;
} else {
 lean_dec_ref(x_91);
 x_96 = lean_box(0);
}
x_97 = lean_ctor_get(x_92, 1);
lean_inc_ref(x_97);
lean_dec_ref(x_92);
x_98 = lean_ctor_get(x_93, 1);
lean_inc_ref(x_98);
lean_dec_ref(x_93);
x_99 = lean_unsigned_to_nat(4u);
x_100 = lean_array_fget(x_36, x_99);
lean_dec(x_36);
x_158 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4;
x_159 = lean_string_dec_eq(x_98, x_158);
if (x_159 == 0)
{
uint8_t x_160; 
x_160 = lean_string_dec_eq(x_98, x_40);
lean_dec_ref(x_98);
if (x_160 == 0)
{
lean_dec(x_100);
lean_dec_ref(x_97);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
lean_object* x_161; uint8_t x_162; 
x_161 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_162 = lean_string_dec_eq(x_97, x_161);
lean_dec_ref(x_97);
if (x_162 == 0)
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
lean_object* x_163; lean_object* x_164; uint8_t x_165; 
x_163 = lean_array_get_size(x_95);
x_164 = lean_unsigned_to_nat(3u);
x_165 = lean_nat_dec_eq(x_163, x_164);
lean_dec(x_163);
if (x_165 == 0)
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
lean_object* x_166; lean_object* x_167; 
x_166 = lean_unsigned_to_nat(0u);
x_167 = lean_array_fget_borrowed(x_95, x_166);
if (lean_obj_tag(x_167) == 4)
{
lean_object* x_168; 
x_168 = lean_ctor_get(x_167, 0);
if (lean_obj_tag(x_168) == 1)
{
lean_object* x_169; 
x_169 = lean_ctor_get(x_168, 0);
if (lean_obj_tag(x_169) == 0)
{
lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; 
x_170 = lean_ctor_get(x_167, 1);
lean_inc(x_170);
x_171 = lean_ctor_get(x_168, 1);
x_172 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_173 = lean_string_dec_eq(x_171, x_172);
if (x_173 == 0)
{
lean_dec(x_170);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
if (lean_obj_tag(x_170) == 0)
{
lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
x_174 = lean_unsigned_to_nat(2u);
x_175 = lean_array_fget(x_95, x_174);
lean_dec(x_95);
lean_inc(x_175);
x_176 = l_Lean_Expr_getAppFnArgs(x_175);
x_177 = lean_ctor_get(x_176, 0);
lean_inc(x_177);
if (lean_obj_tag(x_177) == 1)
{
lean_object* x_178; 
x_178 = lean_ctor_get(x_177, 0);
lean_inc(x_178);
if (lean_obj_tag(x_178) == 1)
{
lean_object* x_179; 
x_179 = lean_ctor_get(x_178, 0);
if (lean_obj_tag(x_179) == 0)
{
uint8_t x_180; 
x_180 = !lean_is_exclusive(x_176);
if (x_180 == 0)
{
lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; 
x_181 = lean_ctor_get(x_176, 1);
x_182 = lean_ctor_get(x_176, 0);
lean_dec(x_182);
x_183 = lean_ctor_get(x_177, 1);
lean_inc_ref(x_183);
lean_dec_ref(x_177);
x_184 = lean_ctor_get(x_178, 1);
lean_inc_ref(x_184);
lean_dec_ref(x_178);
x_185 = lean_string_dec_eq(x_184, x_158);
lean_dec_ref(x_184);
if (x_185 == 0)
{
lean_dec_ref(x_183);
lean_free_object(x_176);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_186; uint8_t x_187; 
x_186 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
x_187 = lean_string_dec_eq(x_183, x_186);
lean_dec_ref(x_183);
if (x_187 == 0)
{
lean_free_object(x_176);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_188; uint8_t x_189; 
x_188 = lean_array_get_size(x_181);
x_189 = lean_nat_dec_eq(x_188, x_87);
lean_dec(x_188);
if (x_189 == 0)
{
lean_free_object(x_176);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_190; lean_object* x_191; 
x_190 = lean_array_fget(x_181, x_99);
lean_inc(x_190);
x_191 = l_Lean_Elab_Tactic_Omega_natCast_x3f(x_190);
if (lean_obj_tag(x_191) == 0)
{
lean_dec(x_190);
lean_free_object(x_176);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_28 = lean_box(0);
goto block_31;
}
else
{
lean_object* x_192; uint8_t x_193; 
x_192 = lean_ctor_get(x_191, 0);
lean_inc(x_192);
lean_dec_ref(x_191);
x_193 = lean_nat_dec_eq(x_192, x_166);
lean_dec(x_192);
if (x_193 == 0)
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; 
x_194 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22;
x_195 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23;
lean_ctor_set_tag(x_176, 1);
lean_ctor_set(x_176, 1, x_170);
lean_ctor_set(x_176, 0, x_195);
lean_inc_ref(x_176);
x_196 = l_Lean_Expr_const___override(x_194, x_176);
x_197 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24;
x_198 = l_Lean_Expr_const___override(x_197, x_170);
x_199 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26;
x_200 = l_Lean_Expr_const___override(x_199, x_170);
x_201 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27;
lean_inc(x_190);
x_202 = l_Lean_mkApp4(x_196, x_198, x_200, x_201, x_190);
x_203 = l_Lean_Meta_mkDecideProof(x_202, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_203) == 0)
{
lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_228; 
x_204 = lean_ctor_get(x_203, 0);
lean_inc(x_204);
if (lean_is_exclusive(x_203)) {
 lean_ctor_release(x_203, 0);
 x_205 = x_203;
} else {
 lean_dec_ref(x_203);
 x_205 = lean_box(0);
}
x_206 = lean_array_fget(x_181, x_89);
lean_dec(x_181);
x_207 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29;
x_208 = l_Lean_Expr_const___override(x_207, x_170);
x_209 = l_Lean_mkApp3(x_208, x_190, x_206, x_204);
x_210 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31;
x_211 = l_Lean_Expr_const___override(x_210, x_170);
x_212 = l_Lean_mkAppB(x_211, x_175, x_209);
x_213 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33;
x_214 = l_Lean_Expr_const___override(x_213, x_170);
x_215 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35;
x_216 = l_Lean_Expr_const___override(x_215, x_170);
x_228 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39;
if (x_228 == 0)
{
lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; 
x_229 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42;
x_230 = l_Lean_Expr_const___override(x_229, x_176);
x_231 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1;
x_232 = l_Lean_Expr_const___override(x_231, x_170);
x_233 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44;
x_234 = l_Lean_Expr_const___override(x_233, x_170);
x_235 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47;
x_236 = l_Lean_mkApp3(x_230, x_232, x_234, x_235);
x_217 = x_236;
goto block_227;
}
else
{
lean_object* x_237; 
lean_dec_ref(x_176);
x_237 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49;
x_217 = x_237;
goto block_227;
}
block_227:
{
lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; 
lean_inc_ref(x_212);
lean_inc(x_90);
x_218 = l_Lean_mkApp3(x_216, x_90, x_217, x_212);
lean_inc(x_90);
lean_inc(x_100);
x_219 = l_Lean_mkApp3(x_214, x_100, x_90, x_218);
x_220 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37;
x_221 = l_Lean_Expr_const___override(x_220, x_170);
x_222 = l_Lean_mkApp3(x_221, x_100, x_90, x_212);
x_223 = lean_box(0);
if (lean_is_scalar(x_96)) {
 x_224 = lean_alloc_ctor(1, 2, 0);
} else {
 x_224 = x_96;
 lean_ctor_set_tag(x_224, 1);
}
lean_ctor_set(x_224, 0, x_222);
lean_ctor_set(x_224, 1, x_223);
if (lean_is_scalar(x_37)) {
 x_225 = lean_alloc_ctor(1, 2, 0);
} else {
 x_225 = x_37;
 lean_ctor_set_tag(x_225, 1);
}
lean_ctor_set(x_225, 0, x_219);
lean_ctor_set(x_225, 1, x_224);
if (lean_is_scalar(x_205)) {
 x_226 = lean_alloc_ctor(0, 1, 0);
} else {
 x_226 = x_205;
}
lean_ctor_set(x_226, 0, x_225);
return x_226;
}
}
else
{
uint8_t x_238; 
lean_dec_ref(x_176);
lean_dec(x_190);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
x_238 = !lean_is_exclusive(x_203);
if (x_238 == 0)
{
return x_203;
}
else
{
lean_object* x_239; lean_object* x_240; 
x_239 = lean_ctor_get(x_203, 0);
lean_inc(x_239);
lean_dec(x_203);
x_240 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_240, 0, x_239);
return x_240;
}
}
}
else
{
lean_dec(x_190);
lean_free_object(x_176);
lean_dec(x_181);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_28 = lean_box(0);
goto block_31;
}
}
}
}
}
}
else
{
lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; 
x_241 = lean_ctor_get(x_176, 1);
lean_inc(x_241);
lean_dec(x_176);
x_242 = lean_ctor_get(x_177, 1);
lean_inc_ref(x_242);
lean_dec_ref(x_177);
x_243 = lean_ctor_get(x_178, 1);
lean_inc_ref(x_243);
lean_dec_ref(x_178);
x_244 = lean_string_dec_eq(x_243, x_158);
lean_dec_ref(x_243);
if (x_244 == 0)
{
lean_dec_ref(x_242);
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_245; uint8_t x_246; 
x_245 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
x_246 = lean_string_dec_eq(x_242, x_245);
lean_dec_ref(x_242);
if (x_246 == 0)
{
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_247; uint8_t x_248; 
x_247 = lean_array_get_size(x_241);
x_248 = lean_nat_dec_eq(x_247, x_87);
lean_dec(x_247);
if (x_248 == 0)
{
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
else
{
lean_object* x_249; lean_object* x_250; 
x_249 = lean_array_fget(x_241, x_99);
lean_inc(x_249);
x_250 = l_Lean_Elab_Tactic_Omega_natCast_x3f(x_249);
if (lean_obj_tag(x_250) == 0)
{
lean_dec(x_249);
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_28 = lean_box(0);
goto block_31;
}
else
{
lean_object* x_251; uint8_t x_252; 
x_251 = lean_ctor_get(x_250, 0);
lean_inc(x_251);
lean_dec_ref(x_250);
x_252 = lean_nat_dec_eq(x_251, x_166);
lean_dec(x_251);
if (x_252 == 0)
{
lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 
x_253 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22;
x_254 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23;
x_255 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_255, 0, x_254);
lean_ctor_set(x_255, 1, x_170);
lean_inc_ref(x_255);
x_256 = l_Lean_Expr_const___override(x_253, x_255);
x_257 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24;
x_258 = l_Lean_Expr_const___override(x_257, x_170);
x_259 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26;
x_260 = l_Lean_Expr_const___override(x_259, x_170);
x_261 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27;
lean_inc(x_249);
x_262 = l_Lean_mkApp4(x_256, x_258, x_260, x_261, x_249);
x_263 = l_Lean_Meta_mkDecideProof(x_262, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_263) == 0)
{
lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_288; 
x_264 = lean_ctor_get(x_263, 0);
lean_inc(x_264);
if (lean_is_exclusive(x_263)) {
 lean_ctor_release(x_263, 0);
 x_265 = x_263;
} else {
 lean_dec_ref(x_263);
 x_265 = lean_box(0);
}
x_266 = lean_array_fget(x_241, x_89);
lean_dec(x_241);
x_267 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29;
x_268 = l_Lean_Expr_const___override(x_267, x_170);
x_269 = l_Lean_mkApp3(x_268, x_249, x_266, x_264);
x_270 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31;
x_271 = l_Lean_Expr_const___override(x_270, x_170);
x_272 = l_Lean_mkAppB(x_271, x_175, x_269);
x_273 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33;
x_274 = l_Lean_Expr_const___override(x_273, x_170);
x_275 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35;
x_276 = l_Lean_Expr_const___override(x_275, x_170);
x_288 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39;
if (x_288 == 0)
{
lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; 
x_289 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42;
x_290 = l_Lean_Expr_const___override(x_289, x_255);
x_291 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1;
x_292 = l_Lean_Expr_const___override(x_291, x_170);
x_293 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44;
x_294 = l_Lean_Expr_const___override(x_293, x_170);
x_295 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47;
x_296 = l_Lean_mkApp3(x_290, x_292, x_294, x_295);
x_277 = x_296;
goto block_287;
}
else
{
lean_object* x_297; 
lean_dec_ref(x_255);
x_297 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49;
x_277 = x_297;
goto block_287;
}
block_287:
{
lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; 
lean_inc_ref(x_272);
lean_inc(x_90);
x_278 = l_Lean_mkApp3(x_276, x_90, x_277, x_272);
lean_inc(x_90);
lean_inc(x_100);
x_279 = l_Lean_mkApp3(x_274, x_100, x_90, x_278);
x_280 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37;
x_281 = l_Lean_Expr_const___override(x_280, x_170);
x_282 = l_Lean_mkApp3(x_281, x_100, x_90, x_272);
x_283 = lean_box(0);
if (lean_is_scalar(x_96)) {
 x_284 = lean_alloc_ctor(1, 2, 0);
} else {
 x_284 = x_96;
 lean_ctor_set_tag(x_284, 1);
}
lean_ctor_set(x_284, 0, x_282);
lean_ctor_set(x_284, 1, x_283);
if (lean_is_scalar(x_37)) {
 x_285 = lean_alloc_ctor(1, 2, 0);
} else {
 x_285 = x_37;
 lean_ctor_set_tag(x_285, 1);
}
lean_ctor_set(x_285, 0, x_279);
lean_ctor_set(x_285, 1, x_284);
if (lean_is_scalar(x_265)) {
 x_286 = lean_alloc_ctor(0, 1, 0);
} else {
 x_286 = x_265;
}
lean_ctor_set(x_286, 0, x_285);
return x_286;
}
}
else
{
lean_object* x_298; lean_object* x_299; lean_object* x_300; 
lean_dec_ref(x_255);
lean_dec(x_249);
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
x_298 = lean_ctor_get(x_263, 0);
lean_inc(x_298);
if (lean_is_exclusive(x_263)) {
 lean_ctor_release(x_263, 0);
 x_299 = x_263;
} else {
 lean_dec_ref(x_263);
 x_299 = lean_box(0);
}
if (lean_is_scalar(x_299)) {
 x_300 = lean_alloc_ctor(1, 1, 0);
} else {
 x_300 = x_299;
}
lean_ctor_set(x_300, 0, x_298);
return x_300;
}
}
else
{
lean_dec(x_249);
lean_dec(x_241);
lean_dec(x_175);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_28 = lean_box(0);
goto block_31;
}
}
}
}
}
}
}
else
{
lean_dec_ref(x_178);
lean_dec_ref(x_177);
lean_dec_ref(x_176);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
}
else
{
lean_dec(x_178);
lean_dec_ref(x_177);
lean_dec_ref(x_176);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
}
else
{
lean_dec(x_177);
lean_dec_ref(x_176);
lean_dec(x_175);
lean_dec(x_96);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_101 = lean_box(0);
goto block_157;
}
}
else
{
lean_dec(x_170);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
}
else
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
else
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
else
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
}
}
}
else
{
lean_object* x_301; uint8_t x_302; 
lean_dec_ref(x_98);
x_301 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5;
x_302 = lean_string_dec_eq(x_97, x_301);
lean_dec_ref(x_97);
if (x_302 == 0)
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
lean_object* x_303; uint8_t x_304; 
x_303 = lean_array_get_size(x_95);
x_304 = lean_nat_dec_eq(x_303, x_87);
lean_dec(x_303);
if (x_304 == 0)
{
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
else
{
lean_object* x_305; lean_object* x_306; 
x_305 = lean_array_fget(x_95, x_99);
lean_inc(x_305);
x_306 = l_Lean_Elab_Tactic_Omega_natCast_x3f(x_305);
if (lean_obj_tag(x_306) == 0)
{
lean_dec(x_305);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_12 = lean_box(0);
goto block_15;
}
else
{
lean_object* x_307; lean_object* x_308; uint8_t x_309; 
x_307 = lean_ctor_get(x_306, 0);
lean_inc(x_307);
lean_dec_ref(x_306);
x_308 = lean_unsigned_to_nat(0u);
x_309 = lean_nat_dec_eq(x_307, x_308);
lean_dec(x_307);
if (x_309 == 0)
{
lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_346; 
x_310 = lean_array_fget(x_95, x_89);
lean_dec(x_95);
x_311 = lean_box(0);
x_312 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51;
x_313 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_314 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54;
x_346 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39;
if (x_346 == 0)
{
lean_object* x_347; 
x_347 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63;
x_315 = x_347;
goto block_345;
}
else
{
lean_object* x_348; 
x_348 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49;
x_315 = x_348;
goto block_345;
}
block_345:
{
lean_object* x_316; lean_object* x_317; 
lean_inc(x_305);
lean_inc_ref(x_315);
x_316 = l_Lean_mkApp4(x_312, x_313, x_314, x_315, x_305);
x_317 = l_Lean_Meta_mkDecideProof(x_316, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_317) == 0)
{
uint8_t x_318; 
x_318 = !lean_is_exclusive(x_317);
if (x_318 == 0)
{
lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; 
x_319 = lean_ctor_get(x_317, 0);
x_320 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57;
x_321 = l_Lean_mkApp3(x_320, x_305, x_310, x_319);
x_322 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58;
x_323 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59;
lean_inc_ref(x_321);
lean_inc(x_90);
x_324 = l_Lean_mkApp3(x_323, x_90, x_315, x_321);
lean_inc(x_90);
lean_inc(x_100);
x_325 = l_Lean_mkApp3(x_322, x_100, x_90, x_324);
x_326 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60;
x_327 = l_Lean_mkApp3(x_326, x_100, x_90, x_321);
if (lean_is_scalar(x_96)) {
 x_328 = lean_alloc_ctor(1, 2, 0);
} else {
 x_328 = x_96;
 lean_ctor_set_tag(x_328, 1);
}
lean_ctor_set(x_328, 0, x_327);
lean_ctor_set(x_328, 1, x_311);
if (lean_is_scalar(x_37)) {
 x_329 = lean_alloc_ctor(1, 2, 0);
} else {
 x_329 = x_37;
 lean_ctor_set_tag(x_329, 1);
}
lean_ctor_set(x_329, 0, x_325);
lean_ctor_set(x_329, 1, x_328);
lean_ctor_set(x_317, 0, x_329);
return x_317;
}
else
{
lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; 
x_330 = lean_ctor_get(x_317, 0);
lean_inc(x_330);
lean_dec(x_317);
x_331 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57;
x_332 = l_Lean_mkApp3(x_331, x_305, x_310, x_330);
x_333 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58;
x_334 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59;
lean_inc_ref(x_332);
lean_inc(x_90);
x_335 = l_Lean_mkApp3(x_334, x_90, x_315, x_332);
lean_inc(x_90);
lean_inc(x_100);
x_336 = l_Lean_mkApp3(x_333, x_100, x_90, x_335);
x_337 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60;
x_338 = l_Lean_mkApp3(x_337, x_100, x_90, x_332);
if (lean_is_scalar(x_96)) {
 x_339 = lean_alloc_ctor(1, 2, 0);
} else {
 x_339 = x_96;
 lean_ctor_set_tag(x_339, 1);
}
lean_ctor_set(x_339, 0, x_338);
lean_ctor_set(x_339, 1, x_311);
if (lean_is_scalar(x_37)) {
 x_340 = lean_alloc_ctor(1, 2, 0);
} else {
 x_340 = x_37;
 lean_ctor_set_tag(x_340, 1);
}
lean_ctor_set(x_340, 0, x_336);
lean_ctor_set(x_340, 1, x_339);
x_341 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_341, 0, x_340);
return x_341;
}
}
else
{
uint8_t x_342; 
lean_dec_ref(x_315);
lean_dec(x_310);
lean_dec(x_305);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_90);
lean_dec(x_37);
x_342 = !lean_is_exclusive(x_317);
if (x_342 == 0)
{
return x_317;
}
else
{
lean_object* x_343; lean_object* x_344; 
x_343 = lean_ctor_get(x_317, 0);
lean_inc(x_343);
lean_dec(x_317);
x_344 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_344, 0, x_343);
return x_344;
}
}
}
}
else
{
lean_dec(x_305);
lean_dec(x_100);
lean_dec(x_96);
lean_dec(x_95);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_12 = lean_box(0);
goto block_15;
}
}
}
}
}
block_157:
{
lean_object* x_102; lean_object* x_103; 
x_102 = l_Lean_Expr_getAppFnArgs(x_100);
x_103 = lean_ctor_get(x_102, 0);
lean_inc(x_103);
if (lean_obj_tag(x_103) == 1)
{
lean_object* x_104; 
x_104 = lean_ctor_get(x_103, 0);
lean_inc(x_104);
if (lean_obj_tag(x_104) == 1)
{
lean_object* x_105; 
x_105 = lean_ctor_get(x_104, 0);
if (lean_obj_tag(x_105) == 0)
{
uint8_t x_106; 
x_106 = !lean_is_exclusive(x_102);
if (x_106 == 0)
{
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; 
x_107 = lean_ctor_get(x_102, 1);
x_108 = lean_ctor_get(x_102, 0);
lean_dec(x_108);
x_109 = lean_ctor_get(x_103, 1);
lean_inc_ref(x_109);
lean_dec_ref(x_103);
x_110 = lean_ctor_get(x_104, 1);
lean_inc_ref(x_110);
lean_dec_ref(x_104);
x_111 = lean_string_dec_eq(x_110, x_40);
lean_dec_ref(x_110);
if (x_111 == 0)
{
lean_dec_ref(x_109);
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_112; uint8_t x_113; 
x_112 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_113 = lean_string_dec_eq(x_109, x_112);
lean_dec_ref(x_109);
if (x_113 == 0)
{
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_114; lean_object* x_115; uint8_t x_116; 
x_114 = lean_array_get_size(x_107);
x_115 = lean_unsigned_to_nat(3u);
x_116 = lean_nat_dec_eq(x_114, x_115);
lean_dec(x_114);
if (x_116 == 0)
{
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_117; lean_object* x_118; 
x_117 = lean_unsigned_to_nat(0u);
x_118 = lean_array_fget_borrowed(x_107, x_117);
if (lean_obj_tag(x_118) == 4)
{
lean_object* x_119; 
x_119 = lean_ctor_get(x_118, 0);
if (lean_obj_tag(x_119) == 1)
{
lean_object* x_120; 
x_120 = lean_ctor_get(x_119, 0);
if (lean_obj_tag(x_120) == 0)
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; 
x_121 = lean_ctor_get(x_118, 1);
lean_inc(x_121);
x_122 = lean_ctor_get(x_119, 1);
x_123 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_124 = lean_string_dec_eq(x_122, x_123);
if (x_124 == 0)
{
lean_dec(x_121);
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
if (lean_obj_tag(x_121) == 0)
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
x_125 = lean_unsigned_to_nat(2u);
x_126 = lean_array_fget(x_107, x_125);
lean_dec(x_107);
x_127 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19;
x_128 = l_Lean_Expr_const___override(x_127, x_121);
x_129 = l_Lean_mkAppB(x_128, x_126, x_90);
x_130 = lean_box(0);
lean_ctor_set_tag(x_102, 1);
lean_ctor_set(x_102, 1, x_130);
lean_ctor_set(x_102, 0, x_129);
x_131 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_131, 0, x_102);
return x_131;
}
else
{
lean_dec(x_121);
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
}
else
{
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_free_object(x_102);
lean_dec(x_107);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
}
}
}
else
{
lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; 
x_132 = lean_ctor_get(x_102, 1);
lean_inc(x_132);
lean_dec(x_102);
x_133 = lean_ctor_get(x_103, 1);
lean_inc_ref(x_133);
lean_dec_ref(x_103);
x_134 = lean_ctor_get(x_104, 1);
lean_inc_ref(x_134);
lean_dec_ref(x_104);
x_135 = lean_string_dec_eq(x_134, x_40);
lean_dec_ref(x_134);
if (x_135 == 0)
{
lean_dec_ref(x_133);
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_136; uint8_t x_137; 
x_136 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_137 = lean_string_dec_eq(x_133, x_136);
lean_dec_ref(x_133);
if (x_137 == 0)
{
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_138; lean_object* x_139; uint8_t x_140; 
x_138 = lean_array_get_size(x_132);
x_139 = lean_unsigned_to_nat(3u);
x_140 = lean_nat_dec_eq(x_138, x_139);
lean_dec(x_138);
if (x_140 == 0)
{
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
lean_object* x_141; lean_object* x_142; 
x_141 = lean_unsigned_to_nat(0u);
x_142 = lean_array_fget_borrowed(x_132, x_141);
if (lean_obj_tag(x_142) == 4)
{
lean_object* x_143; 
x_143 = lean_ctor_get(x_142, 0);
if (lean_obj_tag(x_143) == 1)
{
lean_object* x_144; 
x_144 = lean_ctor_get(x_143, 0);
if (lean_obj_tag(x_144) == 0)
{
lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; 
x_145 = lean_ctor_get(x_142, 1);
lean_inc(x_145);
x_146 = lean_ctor_get(x_143, 1);
x_147 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_148 = lean_string_dec_eq(x_146, x_147);
if (x_148 == 0)
{
lean_dec(x_145);
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
else
{
if (lean_obj_tag(x_145) == 0)
{
lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
x_149 = lean_unsigned_to_nat(2u);
x_150 = lean_array_fget(x_132, x_149);
lean_dec(x_132);
x_151 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19;
x_152 = l_Lean_Expr_const___override(x_151, x_145);
x_153 = l_Lean_mkAppB(x_152, x_150, x_90);
x_154 = lean_box(0);
x_155 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_155, 0, x_153);
lean_ctor_set(x_155, 1, x_154);
x_156 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_156, 0, x_155);
return x_156;
}
else
{
lean_dec(x_145);
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
}
else
{
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_dec(x_132);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
}
}
}
}
else
{
lean_dec_ref(x_104);
lean_dec_ref(x_103);
lean_dec_ref(x_102);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_dec(x_104);
lean_dec_ref(x_103);
lean_dec_ref(x_102);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
else
{
lean_dec(x_103);
lean_dec_ref(x_102);
lean_dec(x_90);
x_24 = lean_box(0);
goto block_27;
}
}
}
else
{
lean_dec_ref(x_93);
lean_dec_ref(x_92);
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
else
{
lean_dec(x_93);
lean_dec_ref(x_92);
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
else
{
lean_dec(x_92);
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_20 = lean_box(0);
goto block_23;
}
}
}
}
}
else
{
lean_object* x_349; uint8_t x_350; 
lean_dec_ref(x_39);
x_349 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7;
x_350 = lean_string_dec_eq(x_38, x_349);
lean_dec_ref(x_38);
if (x_350 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_351; lean_object* x_352; uint8_t x_353; 
x_351 = lean_array_get_size(x_36);
x_352 = lean_unsigned_to_nat(6u);
x_353 = lean_nat_dec_eq(x_351, x_352);
lean_dec(x_351);
if (x_353 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_354; lean_object* x_355; lean_object* x_356; 
x_354 = lean_unsigned_to_nat(5u);
x_355 = lean_array_fget(x_36, x_354);
lean_inc(x_355);
x_356 = l_Lean_Elab_Tactic_Omega_natCast_x3f(x_355);
if (lean_obj_tag(x_356) == 0)
{
lean_dec(x_355);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_8 = lean_box(0);
goto block_11;
}
else
{
lean_object* x_357; lean_object* x_358; uint8_t x_359; 
x_357 = lean_ctor_get(x_356, 0);
lean_inc(x_357);
lean_dec_ref(x_356);
x_358 = lean_unsigned_to_nat(0u);
x_359 = lean_nat_dec_eq(x_357, x_358);
lean_dec(x_357);
if (x_359 == 0)
{
lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_396; 
x_360 = lean_unsigned_to_nat(4u);
x_361 = lean_array_fget(x_36, x_360);
lean_dec(x_36);
x_362 = lean_box(0);
x_363 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68;
x_364 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_396 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39;
if (x_396 == 0)
{
lean_object* x_397; 
x_397 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63;
x_365 = x_397;
goto block_395;
}
else
{
lean_object* x_398; 
x_398 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49;
x_365 = x_398;
goto block_395;
}
block_395:
{
lean_object* x_366; lean_object* x_367; 
lean_inc_ref(x_365);
lean_inc(x_355);
x_366 = l_Lean_mkApp3(x_363, x_364, x_355, x_365);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_367 = l_Lean_Meta_mkDecideProof(x_366, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_367) == 0)
{
lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; 
x_368 = lean_ctor_get(x_367, 0);
lean_inc(x_368);
lean_dec_ref(x_367);
x_369 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51;
x_370 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54;
lean_inc(x_355);
x_371 = l_Lean_mkApp4(x_369, x_364, x_370, x_365, x_355);
x_372 = l_Lean_Meta_mkDecideProof(x_371, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_372) == 0)
{
uint8_t x_373; 
x_373 = !lean_is_exclusive(x_372);
if (x_373 == 0)
{
lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; 
x_374 = lean_ctor_get(x_372, 0);
x_375 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71;
lean_inc(x_355);
lean_inc(x_361);
x_376 = l_Lean_mkApp3(x_375, x_361, x_355, x_368);
x_377 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74;
x_378 = l_Lean_mkApp3(x_377, x_361, x_355, x_374);
if (lean_is_scalar(x_37)) {
 x_379 = lean_alloc_ctor(1, 2, 0);
} else {
 x_379 = x_37;
 lean_ctor_set_tag(x_379, 1);
}
lean_ctor_set(x_379, 0, x_378);
lean_ctor_set(x_379, 1, x_362);
x_380 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_380, 0, x_376);
lean_ctor_set(x_380, 1, x_379);
lean_ctor_set(x_372, 0, x_380);
return x_372;
}
else
{
lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; 
x_381 = lean_ctor_get(x_372, 0);
lean_inc(x_381);
lean_dec(x_372);
x_382 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71;
lean_inc(x_355);
lean_inc(x_361);
x_383 = l_Lean_mkApp3(x_382, x_361, x_355, x_368);
x_384 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74;
x_385 = l_Lean_mkApp3(x_384, x_361, x_355, x_381);
if (lean_is_scalar(x_37)) {
 x_386 = lean_alloc_ctor(1, 2, 0);
} else {
 x_386 = x_37;
 lean_ctor_set_tag(x_386, 1);
}
lean_ctor_set(x_386, 0, x_385);
lean_ctor_set(x_386, 1, x_362);
x_387 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_387, 0, x_383);
lean_ctor_set(x_387, 1, x_386);
x_388 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_388, 0, x_387);
return x_388;
}
}
else
{
uint8_t x_389; 
lean_dec(x_368);
lean_dec(x_361);
lean_dec(x_355);
lean_dec(x_37);
x_389 = !lean_is_exclusive(x_372);
if (x_389 == 0)
{
return x_372;
}
else
{
lean_object* x_390; lean_object* x_391; 
x_390 = lean_ctor_get(x_372, 0);
lean_inc(x_390);
lean_dec(x_372);
x_391 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_391, 0, x_390);
return x_391;
}
}
}
else
{
uint8_t x_392; 
lean_dec_ref(x_365);
lean_dec(x_361);
lean_dec(x_355);
lean_dec(x_37);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_392 = !lean_is_exclusive(x_367);
if (x_392 == 0)
{
return x_367;
}
else
{
lean_object* x_393; lean_object* x_394; 
x_393 = lean_ctor_get(x_367, 0);
lean_inc(x_393);
lean_dec(x_367);
x_394 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_394, 0, x_393);
return x_394;
}
}
}
}
else
{
lean_dec(x_355);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_8 = lean_box(0);
goto block_11;
}
}
}
}
}
}
else
{
lean_object* x_399; uint8_t x_400; 
lean_dec_ref(x_39);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_399 = l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1;
x_400 = lean_string_dec_eq(x_38, x_399);
lean_dec_ref(x_38);
if (x_400 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_401; lean_object* x_402; uint8_t x_403; 
x_401 = lean_array_get_size(x_36);
x_402 = lean_unsigned_to_nat(3u);
x_403 = lean_nat_dec_eq(x_401, x_402);
lean_dec(x_401);
if (x_403 == 0)
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_404; lean_object* x_405; 
x_404 = lean_unsigned_to_nat(0u);
x_405 = lean_array_fget_borrowed(x_36, x_404);
if (lean_obj_tag(x_405) == 4)
{
lean_object* x_406; 
x_406 = lean_ctor_get(x_405, 0);
if (lean_obj_tag(x_406) == 1)
{
lean_object* x_407; 
x_407 = lean_ctor_get(x_406, 0);
if (lean_obj_tag(x_407) == 0)
{
lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; uint8_t x_422; 
x_408 = lean_ctor_get(x_405, 1);
lean_inc(x_408);
x_409 = lean_ctor_get(x_406, 1);
x_410 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0;
x_422 = lean_string_dec_eq(x_409, x_410);
if (x_422 == 0)
{
lean_dec(x_408);
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
else
{
if (lean_obj_tag(x_408) == 0)
{
uint8_t x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_453; lean_object* x_454; 
x_423 = lean_ctor_get_uint8(x_2, 1);
x_424 = lean_unsigned_to_nat(2u);
x_425 = lean_array_fget(x_36, x_424);
lean_dec(x_36);
x_426 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78;
x_427 = l_Lean_Expr_const___override(x_426, x_408);
lean_inc(x_425);
x_428 = l_Lean_Expr_app___override(x_427, x_425);
x_429 = lean_box(0);
x_430 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_430, 0, x_428);
lean_ctor_set(x_430, 1, x_429);
if (x_423 == 1)
{
lean_object* x_461; lean_object* x_462; 
x_461 = l_Lean_Expr_getAppFnArgs(x_425);
x_462 = lean_ctor_get(x_461, 0);
lean_inc(x_462);
if (lean_obj_tag(x_462) == 1)
{
lean_object* x_463; 
x_463 = lean_ctor_get(x_462, 0);
lean_inc(x_463);
if (lean_obj_tag(x_463) == 1)
{
lean_object* x_464; 
x_464 = lean_ctor_get(x_463, 0);
if (lean_obj_tag(x_464) == 0)
{
uint8_t x_465; 
x_465 = !lean_is_exclusive(x_461);
if (x_465 == 0)
{
lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; uint8_t x_471; 
x_466 = lean_ctor_get(x_461, 1);
x_467 = lean_ctor_get(x_461, 0);
lean_dec(x_467);
x_468 = lean_ctor_get(x_462, 1);
lean_inc_ref(x_468);
lean_dec_ref(x_462);
x_469 = lean_ctor_get(x_463, 1);
lean_inc_ref(x_469);
lean_dec_ref(x_463);
x_470 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2;
x_471 = lean_string_dec_eq(x_469, x_470);
if (x_471 == 0)
{
uint8_t x_472; 
lean_free_object(x_461);
x_472 = lean_string_dec_eq(x_469, x_410);
if (x_472 == 0)
{
lean_object* x_473; uint8_t x_474; 
lean_dec(x_37);
x_473 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82;
x_474 = lean_string_dec_eq(x_469, x_473);
if (x_474 == 0)
{
lean_object* x_475; uint8_t x_476; 
x_475 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79;
x_476 = lean_string_dec_eq(x_469, x_475);
lean_dec_ref(x_469);
if (x_476 == 0)
{
lean_object* x_477; 
lean_dec_ref(x_468);
lean_dec(x_466);
x_477 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_477, 0, x_430);
return x_477;
}
else
{
lean_object* x_478; uint8_t x_479; 
x_478 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86;
x_479 = lean_string_dec_eq(x_468, x_478);
lean_dec_ref(x_468);
if (x_479 == 0)
{
lean_object* x_480; 
lean_dec(x_466);
x_480 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_480, 0, x_430);
return x_480;
}
else
{
lean_object* x_481; uint8_t x_482; 
x_481 = lean_array_get_size(x_466);
x_482 = lean_nat_dec_eq(x_481, x_424);
lean_dec(x_481);
if (x_482 == 0)
{
lean_object* x_483; 
lean_dec(x_466);
x_483 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_483, 0, x_430);
return x_483;
}
else
{
lean_object* x_484; lean_object* x_485; lean_object* x_486; 
x_484 = lean_array_fget(x_466, x_404);
x_485 = lean_unsigned_to_nat(1u);
x_486 = lean_array_fget(x_466, x_485);
lean_dec(x_466);
x_431 = x_484;
x_432 = x_486;
x_433 = lean_box(0);
goto block_441;
}
}
}
}
else
{
lean_object* x_487; uint8_t x_488; 
lean_dec_ref(x_469);
x_487 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87;
x_488 = lean_string_dec_eq(x_468, x_487);
lean_dec_ref(x_468);
if (x_488 == 0)
{
lean_object* x_489; 
lean_dec(x_466);
x_489 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_489, 0, x_430);
return x_489;
}
else
{
lean_object* x_490; uint8_t x_491; 
x_490 = lean_array_get_size(x_466);
x_491 = lean_nat_dec_eq(x_490, x_424);
lean_dec(x_490);
if (x_491 == 0)
{
lean_object* x_492; 
lean_dec(x_466);
x_492 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_492, 0, x_430);
return x_492;
}
else
{
lean_object* x_493; lean_object* x_494; lean_object* x_495; 
x_493 = lean_array_fget(x_466, x_404);
x_494 = lean_unsigned_to_nat(1u);
x_495 = lean_array_fget(x_466, x_494);
lean_dec(x_466);
x_442 = x_493;
x_443 = x_495;
x_444 = lean_box(0);
goto block_452;
}
}
}
}
else
{
lean_object* x_496; uint8_t x_497; 
lean_dec_ref(x_469);
x_496 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88;
x_497 = lean_string_dec_eq(x_468, x_496);
lean_dec_ref(x_468);
if (x_497 == 0)
{
lean_object* x_498; 
lean_dec(x_466);
lean_dec(x_37);
x_498 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_498, 0, x_430);
return x_498;
}
else
{
lean_object* x_499; lean_object* x_500; uint8_t x_501; 
x_499 = lean_array_get_size(x_466);
x_500 = lean_unsigned_to_nat(1u);
x_501 = lean_nat_dec_eq(x_499, x_500);
lean_dec(x_499);
if (x_501 == 0)
{
lean_object* x_502; 
lean_dec(x_466);
lean_dec(x_37);
x_502 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_502, 0, x_430);
return x_502;
}
else
{
lean_object* x_503; 
x_503 = lean_array_fget(x_466, x_404);
lean_dec(x_466);
x_453 = x_503;
x_454 = lean_box(0);
goto block_460;
}
}
}
}
else
{
lean_object* x_504; uint8_t x_505; 
lean_dec_ref(x_469);
lean_dec(x_37);
x_504 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9;
x_505 = lean_string_dec_eq(x_468, x_504);
lean_dec_ref(x_468);
if (x_505 == 0)
{
lean_object* x_506; 
lean_free_object(x_461);
lean_dec(x_466);
x_506 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_506, 0, x_430);
return x_506;
}
else
{
lean_object* x_507; lean_object* x_508; uint8_t x_509; 
x_507 = lean_array_get_size(x_466);
x_508 = lean_unsigned_to_nat(6u);
x_509 = lean_nat_dec_eq(x_507, x_508);
lean_dec(x_507);
if (x_509 == 0)
{
lean_object* x_510; 
lean_free_object(x_461);
lean_dec(x_466);
x_510 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_510, 0, x_430);
return x_510;
}
else
{
lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; uint8_t x_518; 
x_511 = lean_unsigned_to_nat(4u);
x_512 = lean_array_fget(x_466, x_511);
x_513 = lean_unsigned_to_nat(5u);
x_514 = lean_array_fget(x_466, x_513);
lean_dec(x_466);
x_515 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90;
x_516 = l_Lean_Expr_const___override(x_515, x_408);
x_517 = l_Lean_mkAppB(x_516, x_512, x_514);
x_518 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_517, x_430);
if (x_518 == 0)
{
lean_object* x_519; 
lean_ctor_set_tag(x_461, 1);
lean_ctor_set(x_461, 1, x_430);
lean_ctor_set(x_461, 0, x_517);
x_519 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_519, 0, x_461);
return x_519;
}
else
{
lean_object* x_520; 
lean_dec_ref(x_517);
lean_free_object(x_461);
x_520 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_520, 0, x_430);
return x_520;
}
}
}
}
}
else
{
lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; uint8_t x_525; 
x_521 = lean_ctor_get(x_461, 1);
lean_inc(x_521);
lean_dec(x_461);
x_522 = lean_ctor_get(x_462, 1);
lean_inc_ref(x_522);
lean_dec_ref(x_462);
x_523 = lean_ctor_get(x_463, 1);
lean_inc_ref(x_523);
lean_dec_ref(x_463);
x_524 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2;
x_525 = lean_string_dec_eq(x_523, x_524);
if (x_525 == 0)
{
uint8_t x_526; 
x_526 = lean_string_dec_eq(x_523, x_410);
if (x_526 == 0)
{
lean_object* x_527; uint8_t x_528; 
lean_dec(x_37);
x_527 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82;
x_528 = lean_string_dec_eq(x_523, x_527);
if (x_528 == 0)
{
lean_object* x_529; uint8_t x_530; 
x_529 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79;
x_530 = lean_string_dec_eq(x_523, x_529);
lean_dec_ref(x_523);
if (x_530 == 0)
{
lean_object* x_531; 
lean_dec_ref(x_522);
lean_dec(x_521);
x_531 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_531, 0, x_430);
return x_531;
}
else
{
lean_object* x_532; uint8_t x_533; 
x_532 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86;
x_533 = lean_string_dec_eq(x_522, x_532);
lean_dec_ref(x_522);
if (x_533 == 0)
{
lean_object* x_534; 
lean_dec(x_521);
x_534 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_534, 0, x_430);
return x_534;
}
else
{
lean_object* x_535; uint8_t x_536; 
x_535 = lean_array_get_size(x_521);
x_536 = lean_nat_dec_eq(x_535, x_424);
lean_dec(x_535);
if (x_536 == 0)
{
lean_object* x_537; 
lean_dec(x_521);
x_537 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_537, 0, x_430);
return x_537;
}
else
{
lean_object* x_538; lean_object* x_539; lean_object* x_540; 
x_538 = lean_array_fget(x_521, x_404);
x_539 = lean_unsigned_to_nat(1u);
x_540 = lean_array_fget(x_521, x_539);
lean_dec(x_521);
x_431 = x_538;
x_432 = x_540;
x_433 = lean_box(0);
goto block_441;
}
}
}
}
else
{
lean_object* x_541; uint8_t x_542; 
lean_dec_ref(x_523);
x_541 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87;
x_542 = lean_string_dec_eq(x_522, x_541);
lean_dec_ref(x_522);
if (x_542 == 0)
{
lean_object* x_543; 
lean_dec(x_521);
x_543 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_543, 0, x_430);
return x_543;
}
else
{
lean_object* x_544; uint8_t x_545; 
x_544 = lean_array_get_size(x_521);
x_545 = lean_nat_dec_eq(x_544, x_424);
lean_dec(x_544);
if (x_545 == 0)
{
lean_object* x_546; 
lean_dec(x_521);
x_546 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_546, 0, x_430);
return x_546;
}
else
{
lean_object* x_547; lean_object* x_548; lean_object* x_549; 
x_547 = lean_array_fget(x_521, x_404);
x_548 = lean_unsigned_to_nat(1u);
x_549 = lean_array_fget(x_521, x_548);
lean_dec(x_521);
x_442 = x_547;
x_443 = x_549;
x_444 = lean_box(0);
goto block_452;
}
}
}
}
else
{
lean_object* x_550; uint8_t x_551; 
lean_dec_ref(x_523);
x_550 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88;
x_551 = lean_string_dec_eq(x_522, x_550);
lean_dec_ref(x_522);
if (x_551 == 0)
{
lean_object* x_552; 
lean_dec(x_521);
lean_dec(x_37);
x_552 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_552, 0, x_430);
return x_552;
}
else
{
lean_object* x_553; lean_object* x_554; uint8_t x_555; 
x_553 = lean_array_get_size(x_521);
x_554 = lean_unsigned_to_nat(1u);
x_555 = lean_nat_dec_eq(x_553, x_554);
lean_dec(x_553);
if (x_555 == 0)
{
lean_object* x_556; 
lean_dec(x_521);
lean_dec(x_37);
x_556 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_556, 0, x_430);
return x_556;
}
else
{
lean_object* x_557; 
x_557 = lean_array_fget(x_521, x_404);
lean_dec(x_521);
x_453 = x_557;
x_454 = lean_box(0);
goto block_460;
}
}
}
}
else
{
lean_object* x_558; uint8_t x_559; 
lean_dec_ref(x_523);
lean_dec(x_37);
x_558 = l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9;
x_559 = lean_string_dec_eq(x_522, x_558);
lean_dec_ref(x_522);
if (x_559 == 0)
{
lean_object* x_560; 
lean_dec(x_521);
x_560 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_560, 0, x_430);
return x_560;
}
else
{
lean_object* x_561; lean_object* x_562; uint8_t x_563; 
x_561 = lean_array_get_size(x_521);
x_562 = lean_unsigned_to_nat(6u);
x_563 = lean_nat_dec_eq(x_561, x_562);
lean_dec(x_561);
if (x_563 == 0)
{
lean_object* x_564; 
lean_dec(x_521);
x_564 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_564, 0, x_430);
return x_564;
}
else
{
lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; 
x_565 = lean_unsigned_to_nat(4u);
x_566 = lean_array_fget(x_521, x_565);
x_567 = lean_unsigned_to_nat(5u);
x_568 = lean_array_fget(x_521, x_567);
lean_dec(x_521);
x_569 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90;
x_570 = l_Lean_Expr_const___override(x_569, x_408);
x_571 = l_Lean_mkAppB(x_570, x_566, x_568);
x_572 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_571, x_430);
if (x_572 == 0)
{
lean_object* x_573; lean_object* x_574; 
x_573 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_573, 0, x_571);
lean_ctor_set(x_573, 1, x_430);
x_574 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_574, 0, x_573);
return x_574;
}
else
{
lean_object* x_575; 
lean_dec_ref(x_571);
x_575 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_575, 0, x_430);
return x_575;
}
}
}
}
}
}
else
{
lean_object* x_576; 
lean_dec_ref(x_463);
lean_dec_ref(x_462);
lean_dec_ref(x_461);
lean_dec(x_37);
x_576 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_576, 0, x_430);
return x_576;
}
}
else
{
lean_object* x_577; 
lean_dec(x_463);
lean_dec_ref(x_462);
lean_dec_ref(x_461);
lean_dec(x_37);
x_577 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_577, 0, x_430);
return x_577;
}
}
else
{
lean_object* x_578; 
lean_dec(x_462);
lean_dec_ref(x_461);
lean_dec(x_37);
x_578 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_578, 0, x_430);
return x_578;
}
}
else
{
lean_object* x_579; lean_object* x_580; 
x_579 = l_Lean_Expr_getAppFnArgs(x_425);
x_580 = lean_ctor_get(x_579, 0);
lean_inc(x_580);
if (lean_obj_tag(x_580) == 1)
{
lean_object* x_581; 
x_581 = lean_ctor_get(x_580, 0);
lean_inc(x_581);
if (lean_obj_tag(x_581) == 1)
{
lean_object* x_582; 
x_582 = lean_ctor_get(x_581, 0);
if (lean_obj_tag(x_582) == 0)
{
lean_object* x_583; lean_object* x_584; lean_object* x_585; uint8_t x_586; 
x_583 = lean_ctor_get(x_579, 1);
lean_inc(x_583);
lean_dec_ref(x_579);
x_584 = lean_ctor_get(x_580, 1);
lean_inc_ref(x_584);
lean_dec_ref(x_580);
x_585 = lean_ctor_get(x_581, 1);
lean_inc_ref(x_585);
lean_dec_ref(x_581);
x_586 = lean_string_dec_eq(x_585, x_410);
if (x_586 == 0)
{
lean_object* x_587; uint8_t x_588; 
lean_dec(x_37);
x_587 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82;
x_588 = lean_string_dec_eq(x_585, x_587);
if (x_588 == 0)
{
lean_object* x_589; uint8_t x_590; 
x_589 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79;
x_590 = lean_string_dec_eq(x_585, x_589);
lean_dec_ref(x_585);
if (x_590 == 0)
{
lean_object* x_591; 
lean_dec_ref(x_584);
lean_dec(x_583);
x_591 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_591, 0, x_430);
return x_591;
}
else
{
lean_object* x_592; uint8_t x_593; 
x_592 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86;
x_593 = lean_string_dec_eq(x_584, x_592);
lean_dec_ref(x_584);
if (x_593 == 0)
{
lean_object* x_594; 
lean_dec(x_583);
x_594 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_594, 0, x_430);
return x_594;
}
else
{
lean_object* x_595; uint8_t x_596; 
x_595 = lean_array_get_size(x_583);
x_596 = lean_nat_dec_eq(x_595, x_424);
lean_dec(x_595);
if (x_596 == 0)
{
lean_object* x_597; 
lean_dec(x_583);
x_597 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_597, 0, x_430);
return x_597;
}
else
{
lean_object* x_598; lean_object* x_599; lean_object* x_600; 
x_598 = lean_array_fget(x_583, x_404);
x_599 = lean_unsigned_to_nat(1u);
x_600 = lean_array_fget(x_583, x_599);
lean_dec(x_583);
x_431 = x_598;
x_432 = x_600;
x_433 = lean_box(0);
goto block_441;
}
}
}
}
else
{
lean_object* x_601; uint8_t x_602; 
lean_dec_ref(x_585);
x_601 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87;
x_602 = lean_string_dec_eq(x_584, x_601);
lean_dec_ref(x_584);
if (x_602 == 0)
{
lean_object* x_603; 
lean_dec(x_583);
x_603 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_603, 0, x_430);
return x_603;
}
else
{
lean_object* x_604; uint8_t x_605; 
x_604 = lean_array_get_size(x_583);
x_605 = lean_nat_dec_eq(x_604, x_424);
lean_dec(x_604);
if (x_605 == 0)
{
lean_object* x_606; 
lean_dec(x_583);
x_606 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_606, 0, x_430);
return x_606;
}
else
{
lean_object* x_607; lean_object* x_608; lean_object* x_609; 
x_607 = lean_array_fget(x_583, x_404);
x_608 = lean_unsigned_to_nat(1u);
x_609 = lean_array_fget(x_583, x_608);
lean_dec(x_583);
x_442 = x_607;
x_443 = x_609;
x_444 = lean_box(0);
goto block_452;
}
}
}
}
else
{
lean_object* x_610; uint8_t x_611; 
lean_dec_ref(x_585);
x_610 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88;
x_611 = lean_string_dec_eq(x_584, x_610);
lean_dec_ref(x_584);
if (x_611 == 0)
{
lean_object* x_612; 
lean_dec(x_583);
lean_dec(x_37);
x_612 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_612, 0, x_430);
return x_612;
}
else
{
lean_object* x_613; lean_object* x_614; uint8_t x_615; 
x_613 = lean_array_get_size(x_583);
x_614 = lean_unsigned_to_nat(1u);
x_615 = lean_nat_dec_eq(x_613, x_614);
lean_dec(x_613);
if (x_615 == 0)
{
lean_object* x_616; 
lean_dec(x_583);
lean_dec(x_37);
x_616 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_616, 0, x_430);
return x_616;
}
else
{
lean_object* x_617; 
x_617 = lean_array_fget(x_583, x_404);
lean_dec(x_583);
x_453 = x_617;
x_454 = lean_box(0);
goto block_460;
}
}
}
}
else
{
lean_object* x_618; 
lean_dec_ref(x_581);
lean_dec_ref(x_580);
lean_dec_ref(x_579);
lean_dec(x_37);
x_618 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_618, 0, x_430);
return x_618;
}
}
else
{
lean_object* x_619; 
lean_dec(x_581);
lean_dec_ref(x_580);
lean_dec_ref(x_579);
lean_dec(x_37);
x_619 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_619, 0, x_430);
return x_619;
}
}
else
{
lean_object* x_620; 
lean_dec(x_580);
lean_dec_ref(x_579);
lean_dec(x_37);
x_620 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_620, 0, x_430);
return x_620;
}
}
block_441:
{
lean_object* x_434; lean_object* x_435; lean_object* x_436; uint8_t x_437; 
x_434 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81;
x_435 = l_Lean_Expr_const___override(x_434, x_408);
x_436 = l_Lean_mkAppB(x_435, x_431, x_432);
x_437 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_436, x_430);
if (x_437 == 0)
{
lean_object* x_438; lean_object* x_439; 
x_438 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_438, 0, x_436);
lean_ctor_set(x_438, 1, x_430);
x_439 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_439, 0, x_438);
return x_439;
}
else
{
lean_object* x_440; 
lean_dec_ref(x_436);
x_440 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_440, 0, x_430);
return x_440;
}
}
block_452:
{
lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t x_448; 
x_445 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83;
x_446 = l_Lean_Expr_const___override(x_445, x_408);
x_447 = l_Lean_mkAppB(x_446, x_442, x_443);
x_448 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_447, x_430);
if (x_448 == 0)
{
lean_object* x_449; lean_object* x_450; 
x_449 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_449, 0, x_447);
lean_ctor_set(x_449, 1, x_430);
x_450 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_450, 0, x_449);
return x_450;
}
else
{
lean_object* x_451; 
lean_dec_ref(x_447);
x_451 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_451, 0, x_430);
return x_451;
}
}
block_460:
{
lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_458; 
x_455 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85;
x_456 = l_Lean_Expr_const___override(x_455, x_408);
lean_inc_ref(x_453);
x_457 = l_Lean_Expr_app___override(x_456, x_453);
x_458 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_457, x_430);
if (x_458 == 0)
{
lean_object* x_459; 
x_459 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_459, 0, x_457);
lean_ctor_set(x_459, 1, x_430);
x_411 = lean_box(0);
x_412 = x_453;
x_413 = x_459;
goto block_421;
}
else
{
lean_dec_ref(x_457);
x_411 = lean_box(0);
x_412 = x_453;
x_413 = x_430;
goto block_421;
}
}
}
else
{
lean_dec(x_408);
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
}
block_421:
{
lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; 
x_414 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76;
x_415 = l_Lean_Expr_const___override(x_414, x_408);
x_416 = l_Lean_Expr_app___override(x_415, x_412);
x_417 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_416, x_413);
if (x_417 == 0)
{
lean_object* x_418; lean_object* x_419; 
if (lean_is_scalar(x_37)) {
 x_418 = lean_alloc_ctor(1, 2, 0);
} else {
 x_418 = x_37;
 lean_ctor_set_tag(x_418, 1);
}
lean_ctor_set(x_418, 0, x_416);
lean_ctor_set(x_418, 1, x_413);
x_419 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_419, 0, x_418);
return x_419;
}
else
{
lean_object* x_420; 
lean_dec_ref(x_416);
lean_dec(x_37);
x_420 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_420, 0, x_413);
return x_420;
}
}
}
else
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_dec(x_37);
lean_dec(x_36);
x_16 = lean_box(0);
goto block_19;
}
}
}
}
}
else
{
lean_dec_ref(x_34);
lean_dec_ref(x_33);
lean_dec_ref(x_32);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
}
case 0:
{
uint8_t x_621; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_621 = !lean_is_exclusive(x_32);
if (x_621 == 0)
{
lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; uint8_t x_626; 
x_622 = lean_ctor_get(x_32, 1);
x_623 = lean_ctor_get(x_32, 0);
lean_dec(x_623);
x_624 = lean_ctor_get(x_33, 1);
lean_inc_ref(x_624);
lean_dec_ref(x_33);
x_625 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91;
x_626 = lean_string_dec_eq(x_624, x_625);
lean_dec_ref(x_624);
if (x_626 == 0)
{
lean_free_object(x_32);
lean_dec(x_622);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_627; lean_object* x_628; uint8_t x_629; 
x_627 = lean_array_get_size(x_622);
x_628 = lean_unsigned_to_nat(5u);
x_629 = lean_nat_dec_eq(x_627, x_628);
lean_dec(x_627);
if (x_629 == 0)
{
lean_free_object(x_32);
lean_dec(x_622);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; 
x_630 = lean_unsigned_to_nat(0u);
x_631 = lean_array_fget(x_622, x_630);
x_632 = lean_box(0);
x_633 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_634 = lean_expr_eqv(x_631, x_633);
if (x_634 == 0)
{
lean_object* x_635; 
lean_dec(x_631);
lean_free_object(x_32);
lean_dec(x_622);
x_635 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_635, 0, x_632);
return x_635;
}
else
{
lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; 
x_636 = lean_unsigned_to_nat(1u);
x_637 = lean_array_fget(x_622, x_636);
x_638 = lean_unsigned_to_nat(2u);
x_639 = lean_array_fget(x_622, x_638);
x_640 = lean_unsigned_to_nat(3u);
x_641 = lean_array_fget(x_622, x_640);
x_642 = lean_unsigned_to_nat(4u);
x_643 = lean_array_fget(x_622, x_642);
lean_dec(x_622);
x_644 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94;
x_645 = l_Lean_mkApp5(x_644, x_631, x_637, x_639, x_641, x_643);
lean_ctor_set_tag(x_32, 1);
lean_ctor_set(x_32, 1, x_632);
lean_ctor_set(x_32, 0, x_645);
x_646 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_646, 0, x_32);
return x_646;
}
}
}
}
else
{
lean_object* x_647; lean_object* x_648; lean_object* x_649; uint8_t x_650; 
x_647 = lean_ctor_get(x_32, 1);
lean_inc(x_647);
lean_dec(x_32);
x_648 = lean_ctor_get(x_33, 1);
lean_inc_ref(x_648);
lean_dec_ref(x_33);
x_649 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91;
x_650 = lean_string_dec_eq(x_648, x_649);
lean_dec_ref(x_648);
if (x_650 == 0)
{
lean_dec(x_647);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_651; lean_object* x_652; uint8_t x_653; 
x_651 = lean_array_get_size(x_647);
x_652 = lean_unsigned_to_nat(5u);
x_653 = lean_nat_dec_eq(x_651, x_652);
lean_dec(x_651);
if (x_653 == 0)
{
lean_dec(x_647);
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; 
x_654 = lean_unsigned_to_nat(0u);
x_655 = lean_array_fget(x_647, x_654);
x_656 = lean_box(0);
x_657 = l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2;
x_658 = lean_expr_eqv(x_655, x_657);
if (x_658 == 0)
{
lean_object* x_659; 
lean_dec(x_655);
lean_dec(x_647);
x_659 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_659, 0, x_656);
return x_659;
}
else
{
lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; 
x_660 = lean_unsigned_to_nat(1u);
x_661 = lean_array_fget(x_647, x_660);
x_662 = lean_unsigned_to_nat(2u);
x_663 = lean_array_fget(x_647, x_662);
x_664 = lean_unsigned_to_nat(3u);
x_665 = lean_array_fget(x_647, x_664);
x_666 = lean_unsigned_to_nat(4u);
x_667 = lean_array_fget(x_647, x_666);
lean_dec(x_647);
x_668 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94;
x_669 = l_Lean_mkApp5(x_668, x_655, x_661, x_663, x_665, x_667);
x_670 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_670, 0, x_669);
lean_ctor_set(x_670, 1, x_656);
x_671 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_671, 0, x_670);
return x_671;
}
}
}
}
}
default: 
{
lean_dec_ref(x_33);
lean_dec_ref(x_32);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_dec(x_33);
lean_dec_ref(x_32);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_16 = lean_box(0);
goto block_19;
}
block_11:
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
block_15:
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_box(0);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
block_19:
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_box(0);
x_18 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
block_23:
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_box(0);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
block_27:
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_box(0);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
block_31:
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_box(0);
x_30 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg(x_1, x_4, x_7, x_8, x_9, x_10);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_analyzeAtom(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_6);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_List_elem___at___00Lean_Elab_Tactic_Omega_analyzeAtom_spec__0(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_7 = lean_st_ref_get(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_8);
lean_dec(x_7);
x_9 = lean_st_ref_get(x_3);
x_10 = lean_ctor_get(x_9, 0);
lean_inc_ref(x_10);
lean_dec(x_9);
x_11 = lean_ctor_get(x_2, 2);
x_12 = lean_ctor_get(x_4, 2);
lean_inc(x_12);
lean_inc_ref(x_11);
x_13 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_10);
lean_ctor_set(x_13, 2, x_11);
lean_ctor_set(x_13, 3, x_12);
x_14 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
static double _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0() {
_start:
{
lean_object* x_1; double x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_float_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_ctor_get(x_5, 5);
x_9 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11(x_2, x_3, x_4, x_5, x_6);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_st_ref_take(x_6);
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_ctor_get(x_12, 4);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; double x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_16 = lean_ctor_get(x_14, 0);
x_17 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0;
x_18 = 0;
x_19 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1;
x_20 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_20, 0, x_1);
lean_ctor_set(x_20, 1, x_19);
lean_ctor_set_float(x_20, sizeof(void*)*2, x_17);
lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_17);
lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_18);
x_21 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2;
x_22 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_11);
lean_ctor_set(x_22, 2, x_21);
lean_inc(x_8);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_8);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_PersistentArray_push___redArg(x_16, x_23);
lean_ctor_set(x_14, 0, x_24);
x_25 = lean_st_ref_set(x_6, x_12);
x_26 = lean_box(0);
lean_ctor_set(x_9, 0, x_26);
return x_9;
}
else
{
uint64_t x_27; lean_object* x_28; double x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_27 = lean_ctor_get_uint64(x_14, sizeof(void*)*1);
x_28 = lean_ctor_get(x_14, 0);
lean_inc(x_28);
lean_dec(x_14);
x_29 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0;
x_30 = 0;
x_31 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1;
x_32 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_32, 0, x_1);
lean_ctor_set(x_32, 1, x_31);
lean_ctor_set_float(x_32, sizeof(void*)*2, x_29);
lean_ctor_set_float(x_32, sizeof(void*)*2 + 8, x_29);
lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 16, x_30);
x_33 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2;
x_34 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_11);
lean_ctor_set(x_34, 2, x_33);
lean_inc(x_8);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_8);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Lean_PersistentArray_push___redArg(x_28, x_35);
x_37 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set_uint64(x_37, sizeof(void*)*1, x_27);
lean_ctor_set(x_12, 4, x_37);
x_38 = lean_st_ref_set(x_6, x_12);
x_39 = lean_box(0);
lean_ctor_set(x_9, 0, x_39);
return x_9;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; double x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_40 = lean_ctor_get(x_12, 4);
x_41 = lean_ctor_get(x_12, 0);
x_42 = lean_ctor_get(x_12, 1);
x_43 = lean_ctor_get(x_12, 2);
x_44 = lean_ctor_get(x_12, 3);
x_45 = lean_ctor_get(x_12, 5);
x_46 = lean_ctor_get(x_12, 6);
x_47 = lean_ctor_get(x_12, 7);
x_48 = lean_ctor_get(x_12, 8);
lean_inc(x_48);
lean_inc(x_47);
lean_inc(x_46);
lean_inc(x_45);
lean_inc(x_40);
lean_inc(x_44);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_dec(x_12);
x_49 = lean_ctor_get_uint64(x_40, sizeof(void*)*1);
x_50 = lean_ctor_get(x_40, 0);
lean_inc_ref(x_50);
if (lean_is_exclusive(x_40)) {
 lean_ctor_release(x_40, 0);
 x_51 = x_40;
} else {
 lean_dec_ref(x_40);
 x_51 = lean_box(0);
}
x_52 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0;
x_53 = 0;
x_54 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1;
x_55 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_55, 0, x_1);
lean_ctor_set(x_55, 1, x_54);
lean_ctor_set_float(x_55, sizeof(void*)*2, x_52);
lean_ctor_set_float(x_55, sizeof(void*)*2 + 8, x_52);
lean_ctor_set_uint8(x_55, sizeof(void*)*2 + 16, x_53);
x_56 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2;
x_57 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_11);
lean_ctor_set(x_57, 2, x_56);
lean_inc(x_8);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_8);
lean_ctor_set(x_58, 1, x_57);
x_59 = l_Lean_PersistentArray_push___redArg(x_50, x_58);
if (lean_is_scalar(x_51)) {
 x_60 = lean_alloc_ctor(0, 1, 8);
} else {
 x_60 = x_51;
}
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set_uint64(x_60, sizeof(void*)*1, x_49);
x_61 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_61, 0, x_41);
lean_ctor_set(x_61, 1, x_42);
lean_ctor_set(x_61, 2, x_43);
lean_ctor_set(x_61, 3, x_44);
lean_ctor_set(x_61, 4, x_60);
lean_ctor_set(x_61, 5, x_45);
lean_ctor_set(x_61, 6, x_46);
lean_ctor_set(x_61, 7, x_47);
lean_ctor_set(x_61, 8, x_48);
x_62 = lean_st_ref_set(x_6, x_61);
x_63 = lean_box(0);
lean_ctor_set(x_9, 0, x_63);
return x_9;
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; lean_object* x_77; lean_object* x_78; double x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_64 = lean_ctor_get(x_9, 0);
lean_inc(x_64);
lean_dec(x_9);
x_65 = lean_st_ref_take(x_6);
x_66 = lean_ctor_get(x_65, 4);
lean_inc_ref(x_66);
x_67 = lean_ctor_get(x_65, 0);
lean_inc_ref(x_67);
x_68 = lean_ctor_get(x_65, 1);
lean_inc(x_68);
x_69 = lean_ctor_get(x_65, 2);
lean_inc_ref(x_69);
x_70 = lean_ctor_get(x_65, 3);
lean_inc_ref(x_70);
x_71 = lean_ctor_get(x_65, 5);
lean_inc_ref(x_71);
x_72 = lean_ctor_get(x_65, 6);
lean_inc_ref(x_72);
x_73 = lean_ctor_get(x_65, 7);
lean_inc_ref(x_73);
x_74 = lean_ctor_get(x_65, 8);
lean_inc_ref(x_74);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 lean_ctor_release(x_65, 1);
 lean_ctor_release(x_65, 2);
 lean_ctor_release(x_65, 3);
 lean_ctor_release(x_65, 4);
 lean_ctor_release(x_65, 5);
 lean_ctor_release(x_65, 6);
 lean_ctor_release(x_65, 7);
 lean_ctor_release(x_65, 8);
 x_75 = x_65;
} else {
 lean_dec_ref(x_65);
 x_75 = lean_box(0);
}
x_76 = lean_ctor_get_uint64(x_66, sizeof(void*)*1);
x_77 = lean_ctor_get(x_66, 0);
lean_inc_ref(x_77);
if (lean_is_exclusive(x_66)) {
 lean_ctor_release(x_66, 0);
 x_78 = x_66;
} else {
 lean_dec_ref(x_66);
 x_78 = lean_box(0);
}
x_79 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0;
x_80 = 0;
x_81 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1;
x_82 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_82, 0, x_1);
lean_ctor_set(x_82, 1, x_81);
lean_ctor_set_float(x_82, sizeof(void*)*2, x_79);
lean_ctor_set_float(x_82, sizeof(void*)*2 + 8, x_79);
lean_ctor_set_uint8(x_82, sizeof(void*)*2 + 16, x_80);
x_83 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2;
x_84 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_84, 0, x_82);
lean_ctor_set(x_84, 1, x_64);
lean_ctor_set(x_84, 2, x_83);
lean_inc(x_8);
x_85 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_85, 0, x_8);
lean_ctor_set(x_85, 1, x_84);
x_86 = l_Lean_PersistentArray_push___redArg(x_77, x_85);
if (lean_is_scalar(x_78)) {
 x_87 = lean_alloc_ctor(0, 1, 8);
} else {
 x_87 = x_78;
}
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set_uint64(x_87, sizeof(void*)*1, x_76);
if (lean_is_scalar(x_75)) {
 x_88 = lean_alloc_ctor(0, 9, 0);
} else {
 x_88 = x_75;
}
lean_ctor_set(x_88, 0, x_67);
lean_ctor_set(x_88, 1, x_68);
lean_ctor_set(x_88, 2, x_69);
lean_ctor_set(x_88, 3, x_70);
lean_ctor_set(x_88, 4, x_87);
lean_ctor_set(x_88, 5, x_71);
lean_ctor_set(x_88, 6, x_72);
lean_ctor_set(x_88, 7, x_73);
lean_ctor_set(x_88, 8, x_74);
x_89 = lean_st_ref_set(x_6, x_88);
x_90 = lean_box(0);
x_91 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_91, 0, x_90);
return x_91;
}
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(x_1, x_2, x_8, x_9, x_10, x_11);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 2);
x_5 = lean_ctor_get(x_2, 13);
x_6 = l_Lean_checkTraceOption(x_5, x_4, x_1);
x_7 = lean_box(x_6);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(x_1, x_9);
return x_12;
}
}
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_8 = l_List_reverse___redArg(x_2);
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
else
{
uint8_t x_10; 
x_10 = !lean_is_exclusive(x_1);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_1, 0);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_13 = lean_infer_type(x_11, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec_ref(x_13);
lean_ctor_set(x_1, 1, x_2);
lean_ctor_set(x_1, 0, x_14);
{
lean_object* _tmp_0 = x_12;
lean_object* _tmp_1 = x_1;
x_1 = _tmp_0;
x_2 = _tmp_1;
}
goto _start;
}
else
{
uint8_t x_16; 
lean_free_object(x_1);
lean_dec(x_12);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
x_16 = !lean_is_exclusive(x_13);
if (x_16 == 0)
{
return x_13;
}
else
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_13, 0);
lean_inc(x_17);
lean_dec(x_13);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_1, 0);
x_20 = lean_ctor_get(x_1, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_21 = lean_infer_type(x_19, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; 
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec_ref(x_21);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_2);
x_1 = x_20;
x_2 = x_23;
goto _start;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_20);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
x_25 = lean_ctor_get(x_21, 0);
lean_inc(x_25);
if (lean_is_exclusive(x_21)) {
 lean_ctor_release(x_21, 0);
 x_26 = x_21;
} else {
 lean_dec_ref(x_21);
 x_26 = lean_box(0);
}
if (lean_is_scalar(x_26)) {
 x_27 = lean_alloc_ctor(1, 1, 0);
} else {
 x_27 = x_26;
}
lean_ctor_set(x_27, 0, x_25);
return x_27;
}
}
}
}
}
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg(x_1, x_2, x_8, x_9, x_10, x_11);
return x_13;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 0;
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_expr_eqv(x_4, x_1);
if (x_6 == 0)
{
x_2 = x_5;
goto _start;
}
else
{
return x_6;
}
}
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_array_get_size(x_1);
x_7 = l_Lean_Expr_hash(x_4);
x_8 = 32;
x_9 = lean_uint64_shift_right(x_7, x_8);
x_10 = lean_uint64_xor(x_7, x_9);
x_11 = 16;
x_12 = lean_uint64_shift_right(x_10, x_11);
x_13 = lean_uint64_xor(x_10, x_12);
x_14 = lean_uint64_to_usize(x_13);
x_15 = lean_usize_of_nat(x_6);
lean_dec(x_6);
x_16 = 1;
x_17 = lean_usize_sub(x_15, x_16);
x_18 = lean_usize_land(x_14, x_17);
x_19 = lean_array_uget(x_1, x_18);
lean_ctor_set(x_2, 2, x_19);
x_20 = lean_array_uset(x_1, x_18, x_2);
x_1 = x_20;
x_2 = x_5;
goto _start;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_22 = lean_ctor_get(x_2, 0);
x_23 = lean_ctor_get(x_2, 1);
x_24 = lean_ctor_get(x_2, 2);
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_2);
x_25 = lean_array_get_size(x_1);
x_26 = l_Lean_Expr_hash(x_22);
x_27 = 32;
x_28 = lean_uint64_shift_right(x_26, x_27);
x_29 = lean_uint64_xor(x_26, x_28);
x_30 = 16;
x_31 = lean_uint64_shift_right(x_29, x_30);
x_32 = lean_uint64_xor(x_29, x_31);
x_33 = lean_uint64_to_usize(x_32);
x_34 = lean_usize_of_nat(x_25);
lean_dec(x_25);
x_35 = 1;
x_36 = lean_usize_sub(x_34, x_35);
x_37 = lean_usize_land(x_33, x_36);
x_38 = lean_array_uget(x_1, x_37);
x_39 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_39, 0, x_22);
lean_ctor_set(x_39, 1, x_23);
lean_ctor_set(x_39, 2, x_38);
x_40 = lean_array_uset(x_1, x_37, x_39);
x_1 = x_40;
x_2 = x_24;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_2, 2);
x_7 = lean_expr_eqv(x_4, x_1);
if (x_7 == 0)
{
x_2 = x_6;
goto _start;
}
else
{
lean_object* x_9; 
lean_inc(x_5);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_5);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_2);
lean_dec_ref(x_1);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
x_7 = lean_ctor_get(x_3, 2);
x_8 = lean_expr_eqv(x_5, x_1);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(x_1, x_2, x_7);
lean_ctor_set(x_3, 2, x_9);
return x_3;
}
else
{
lean_dec(x_6);
lean_dec(x_5);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_10 = lean_ctor_get(x_3, 0);
x_11 = lean_ctor_get(x_3, 1);
x_12 = lean_ctor_get(x_3, 2);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_3);
x_13 = lean_expr_eqv(x_10, x_1);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(x_1, x_2, x_12);
x_15 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_15, 0, x_10);
lean_ctor_set(x_15, 1, x_11);
lean_ctor_set(x_15, 2, x_14);
return x_15;
}
else
{
lean_object* x_16; 
lean_dec(x_11);
lean_dec(x_10);
x_16 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_16, 0, x_1);
lean_ctor_set(x_16, 1, x_2);
lean_ctor_set(x_16, 2, x_12);
return x_16;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = l_Lean_Expr_hash(x_2);
x_6 = 32;
x_7 = lean_uint64_shift_right(x_5, x_6);
x_8 = lean_uint64_xor(x_5, x_7);
x_9 = 16;
x_10 = lean_uint64_shift_right(x_8, x_9);
x_11 = lean_uint64_xor(x_8, x_10);
x_12 = lean_uint64_to_usize(x_11);
x_13 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_14 = 1;
x_15 = lean_usize_sub(x_13, x_14);
x_16 = lean_usize_land(x_12, x_15);
x_17 = lean_array_uget(x_3, x_16);
x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg(x_2, x_17);
lean_dec(x_17);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_nat_dec_lt(x_1, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_array_fget(x_2, x_1);
x_7 = lean_box(0);
x_8 = lean_array_fset(x_2, x_1, x_7);
x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3_spec__3___redArg(x_3, x_6);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_1, x_10);
lean_dec(x_1);
x_1 = x_11;
x_2 = x_8;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_array_get_size(x_1);
x_3 = lean_unsigned_to_nat(2u);
x_4 = lean_nat_mul(x_2, x_3);
lean_dec(x_2);
x_5 = lean_unsigned_to_nat(0u);
x_6 = lean_box(0);
x_7 = lean_mk_array(x_4, x_6);
x_8 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3___redArg(x_5, x_1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_array_get_size(x_6);
x_8 = l_Lean_Expr_hash(x_2);
x_9 = 32;
x_10 = lean_uint64_shift_right(x_8, x_9);
x_11 = lean_uint64_xor(x_8, x_10);
x_12 = 16;
x_13 = lean_uint64_shift_right(x_11, x_12);
x_14 = lean_uint64_xor(x_11, x_13);
x_15 = lean_uint64_to_usize(x_14);
x_16 = lean_usize_of_nat(x_7);
lean_dec(x_7);
x_17 = 1;
x_18 = lean_usize_sub(x_16, x_17);
x_19 = lean_usize_land(x_15, x_18);
x_20 = lean_array_uget(x_6, x_19);
x_21 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(x_2, x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_22 = lean_unsigned_to_nat(1u);
x_23 = lean_nat_add(x_5, x_22);
lean_dec(x_5);
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_2);
lean_ctor_set(x_24, 1, x_3);
lean_ctor_set(x_24, 2, x_20);
x_25 = lean_array_uset(x_6, x_19, x_24);
x_26 = lean_unsigned_to_nat(4u);
x_27 = lean_nat_mul(x_23, x_26);
x_28 = lean_unsigned_to_nat(3u);
x_29 = lean_nat_div(x_27, x_28);
lean_dec(x_27);
x_30 = lean_array_get_size(x_25);
x_31 = lean_nat_dec_le(x_29, x_30);
lean_dec(x_30);
lean_dec(x_29);
if (x_31 == 0)
{
lean_object* x_32; 
x_32 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3___redArg(x_25);
lean_ctor_set(x_1, 1, x_32);
lean_ctor_set(x_1, 0, x_23);
return x_1;
}
else
{
lean_ctor_set(x_1, 1, x_25);
lean_ctor_set(x_1, 0, x_23);
return x_1;
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_33 = lean_box(0);
x_34 = lean_array_uset(x_6, x_19, x_33);
x_35 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(x_2, x_3, x_20);
x_36 = lean_array_uset(x_34, x_19, x_35);
lean_ctor_set(x_1, 1, x_36);
return x_1;
}
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; size_t x_51; lean_object* x_52; uint8_t x_53; 
x_37 = lean_ctor_get(x_1, 0);
x_38 = lean_ctor_get(x_1, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_1);
x_39 = lean_array_get_size(x_38);
x_40 = l_Lean_Expr_hash(x_2);
x_41 = 32;
x_42 = lean_uint64_shift_right(x_40, x_41);
x_43 = lean_uint64_xor(x_40, x_42);
x_44 = 16;
x_45 = lean_uint64_shift_right(x_43, x_44);
x_46 = lean_uint64_xor(x_43, x_45);
x_47 = lean_uint64_to_usize(x_46);
x_48 = lean_usize_of_nat(x_39);
lean_dec(x_39);
x_49 = 1;
x_50 = lean_usize_sub(x_48, x_49);
x_51 = lean_usize_land(x_47, x_50);
x_52 = lean_array_uget(x_38, x_51);
x_53 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(x_2, x_52);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; 
x_54 = lean_unsigned_to_nat(1u);
x_55 = lean_nat_add(x_37, x_54);
lean_dec(x_37);
x_56 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_56, 0, x_2);
lean_ctor_set(x_56, 1, x_3);
lean_ctor_set(x_56, 2, x_52);
x_57 = lean_array_uset(x_38, x_51, x_56);
x_58 = lean_unsigned_to_nat(4u);
x_59 = lean_nat_mul(x_55, x_58);
x_60 = lean_unsigned_to_nat(3u);
x_61 = lean_nat_div(x_59, x_60);
lean_dec(x_59);
x_62 = lean_array_get_size(x_57);
x_63 = lean_nat_dec_le(x_61, x_62);
lean_dec(x_62);
lean_dec(x_61);
if (x_63 == 0)
{
lean_object* x_64; lean_object* x_65; 
x_64 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3___redArg(x_57);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_55);
lean_ctor_set(x_65, 1, x_64);
return x_65;
}
else
{
lean_object* x_66; 
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_55);
lean_ctor_set(x_66, 1, x_57);
return x_66;
}
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_67 = lean_box(0);
x_68 = lean_array_uset(x_38, x_51, x_67);
x_69 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__6___redArg(x_2, x_3, x_52);
x_70 = lean_array_uset(x_68, x_51, x_69);
x_71 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_71, 0, x_37);
lean_ctor_set(x_71, 1, x_70);
return x_71;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__3_spec__3___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__10(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
x_3 = l_List_reverse___redArg(x_2);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = l_Lean_MessageData_ofExpr(x_5);
lean_ctor_set(x_1, 1, x_2);
lean_ctor_set(x_1, 0, x_7);
{
lean_object* _tmp_0 = x_6;
lean_object* _tmp_1 = x_1;
x_1 = _tmp_0;
x_2 = _tmp_1;
}
goto _start;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
lean_inc(x_9);
lean_dec(x_1);
x_11 = l_Lean_MessageData_ofExpr(x_9);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_2);
x_1 = x_10;
x_2 = x_12;
goto _start;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("omega", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_lookup___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("New facts: ", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_lookup___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("New atom: ", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_Omega_lookup___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_Omega_lookup___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_lookup(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_st_ref_get(x_3);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
x_13 = l_Lean_Meta_Canonicalizer_canon(x_1, x_5, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_27; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
if (lean_is_exclusive(x_13)) {
 lean_ctor_release(x_13, 0);
 x_15 = x_13;
} else {
 lean_dec_ref(x_13);
 x_15 = lean_box(0);
}
x_27 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg(x_12, x_14);
lean_dec(x_12);
if (lean_obj_tag(x_27) == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_63; lean_object* x_64; uint8_t x_65; 
x_28 = l_Lean_Elab_Tactic_Omega_lookup___closed__1;
x_63 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(x_28, x_9);
x_64 = lean_ctor_get(x_63, 0);
lean_inc(x_64);
lean_dec_ref(x_63);
x_65 = lean_unbox(x_64);
lean_dec(x_64);
if (x_65 == 0)
{
x_29 = x_2;
x_30 = x_3;
x_31 = x_4;
x_32 = x_5;
x_33 = x_6;
x_34 = x_7;
x_35 = x_8;
x_36 = x_9;
x_37 = x_10;
x_38 = lean_box(0);
goto block_62;
}
else
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_66 = l_Lean_Elab_Tactic_Omega_lookup___closed__5;
lean_inc(x_14);
x_67 = l_Lean_MessageData_ofExpr(x_14);
x_68 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(x_28, x_68, x_7, x_8, x_9, x_10);
lean_dec_ref(x_69);
x_29 = x_2;
x_30 = x_3;
x_31 = x_4;
x_32 = x_5;
x_33 = x_6;
x_34 = x_7;
x_35 = x_8;
x_36 = x_9;
x_37 = x_10;
x_38 = lean_box(0);
goto block_62;
}
block_62:
{
lean_object* x_39; 
lean_inc(x_37);
lean_inc_ref(x_36);
lean_inc(x_35);
lean_inc_ref(x_34);
lean_inc(x_14);
x_39 = l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg(x_14, x_31, x_34, x_35, x_36, x_37);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
lean_dec_ref(x_39);
x_41 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(x_28, x_36);
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
lean_dec_ref(x_41);
x_43 = lean_unbox(x_42);
lean_dec(x_42);
if (x_43 == 0)
{
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
x_16 = x_40;
x_17 = x_30;
x_18 = lean_box(0);
goto block_26;
}
else
{
uint8_t x_44; 
x_44 = l_List_isEmpty___redArg(x_40);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; uint8_t x_47; 
x_45 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(x_28, x_36);
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
lean_dec_ref(x_45);
x_47 = lean_unbox(x_46);
lean_dec(x_46);
if (x_47 == 0)
{
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
x_16 = x_40;
x_17 = x_30;
x_18 = lean_box(0);
goto block_26;
}
else
{
lean_object* x_48; lean_object* x_49; 
x_48 = lean_box(0);
lean_inc(x_37);
lean_inc_ref(x_36);
lean_inc(x_35);
lean_inc_ref(x_34);
lean_inc(x_40);
x_49 = l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg(x_40, x_48, x_34, x_35, x_36, x_37);
if (lean_obj_tag(x_49) == 0)
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_50 = lean_ctor_get(x_49, 0);
lean_inc(x_50);
lean_dec_ref(x_49);
x_51 = l_Lean_Elab_Tactic_Omega_lookup___closed__3;
x_52 = l_List_mapTR_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__10(x_50, x_48);
x_53 = l_Lean_MessageData_ofList(x_52);
x_54 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_54, 0, x_51);
lean_ctor_set(x_54, 1, x_53);
x_55 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(x_28, x_54, x_34, x_35, x_36, x_37);
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
lean_dec_ref(x_55);
x_16 = x_40;
x_17 = x_30;
x_18 = lean_box(0);
goto block_26;
}
else
{
uint8_t x_56; 
lean_dec(x_40);
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
lean_dec(x_15);
lean_dec(x_14);
x_56 = !lean_is_exclusive(x_49);
if (x_56 == 0)
{
return x_49;
}
else
{
lean_object* x_57; lean_object* x_58; 
x_57 = lean_ctor_get(x_49, 0);
lean_inc(x_57);
lean_dec(x_49);
x_58 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_58, 0, x_57);
return x_58;
}
}
}
}
else
{
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
x_16 = x_40;
x_17 = x_30;
x_18 = lean_box(0);
goto block_26;
}
}
}
else
{
uint8_t x_59; 
lean_dec(x_37);
lean_dec_ref(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
lean_dec(x_15);
lean_dec(x_14);
x_59 = !lean_is_exclusive(x_39);
if (x_59 == 0)
{
return x_39;
}
else
{
lean_object* x_60; lean_object* x_61; 
x_60 = lean_ctor_get(x_39, 0);
lean_inc(x_60);
lean_dec(x_39);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_60);
return x_61;
}
}
}
}
else
{
uint8_t x_70; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
x_70 = !lean_is_exclusive(x_27);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_71 = lean_ctor_get(x_27, 0);
x_72 = lean_box(0);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
lean_ctor_set_tag(x_27, 0);
lean_ctor_set(x_27, 0, x_73);
return x_27;
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_74 = lean_ctor_get(x_27, 0);
lean_inc(x_74);
lean_dec(x_27);
x_75 = lean_box(0);
x_76 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
x_77 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_77, 0, x_76);
return x_77;
}
}
block_26:
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_19 = lean_st_ref_take(x_17);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_inc(x_20);
x_21 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2___redArg(x_19, x_14, x_20);
x_22 = lean_st_ref_set(x_17, x_21);
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_16);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_23);
if (lean_is_scalar(x_15)) {
 x_25 = lean_alloc_ctor(0, 1, 0);
} else {
 x_25 = x_15;
}
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
uint8_t x_78; 
lean_dec(x_12);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
x_78 = !lean_is_exclusive(x_13);
if (x_78 == 0)
{
return x_13;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_13, 0);
lean_inc(x_79);
lean_dec(x_13);
x_80 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_80, 0, x_79);
return x_80;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; lean_object* x_14; 
x_13 = lean_unbox(x_6);
x_14 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; lean_object* x_14; 
x_13 = lean_unbox(x_6);
x_14 = l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0(x_1, x_2, x_3);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Omega_lookup_spec__8___redArg(x_1, x_2);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Elab_Tactic_Omega_lookup_spec__2_spec__2___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0_spec__0___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_List_mapM_loop___at___00Lean_Elab_Tactic_Omega_lookup_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11_spec__11(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_Elab_Tactic_Omega_lookup_spec__0___redArg(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_lookup___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Elab_Tactic_Omega_lookup(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_6);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_13;
}
}
lean_object* initialize_Lean_Meta_AppBuilder(uint8_t builtin);
lean_object* initialize_Lean_Meta_Canonicalizer(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Omega_OmegaM(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_AppBuilder(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Canonicalizer(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0 = _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__0);
l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1 = _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__1);
l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2 = _init_l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_OmegaM_run___redArg___closed__2);
l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0 = _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__0);
l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1 = _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__1);
l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2 = _init_l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsList___redArg___closed__2);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__3);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__2);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__1);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__0);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__4);
l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5 = _init_l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_atomsCoeffs___redArg___closed__5);
l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0 = _init_l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__0);
l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1 = _init_l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_natCast_x3f___closed__1);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__0);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__1);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__2);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__3);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__4);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__5);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__6);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__7);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__8);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__9);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__10);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__11);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__12);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__13);
l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14 = _init_l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundNat_x3f___closed__14);
l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0 = _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__0);
l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1 = _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__1);
l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2 = _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__2);
l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3 = _init_l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_groundInt_x3f___closed__3);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__0);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__1);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__2);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__3);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__4);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__5);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__6);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__7);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__8);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__9);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__10);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__11);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__12);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__13);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__14);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__15);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__16);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__17);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__18);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__19);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__21);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__20);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__22);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__23);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__24);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__25);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__26);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__27);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__28);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__29);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__30);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__31);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__32);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__33);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__34);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__35);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__36);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__37);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__38);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__39();
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__41);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__40);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__42);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__43);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__44);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__45);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__46);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__47);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__48);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__49);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__50);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__51);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__52);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__53);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__54);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__55);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__56);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__57);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__58);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__59);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__60);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__62);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__61);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__63);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__66);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__67);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__64);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__65);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__68);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__69);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__70);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__71);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__72);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__73);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__74);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__75);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__76);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__77);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__78);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__80);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__79);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__81);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__82);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__83);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__84);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__85);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__86);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__87);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__88);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__89);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__90);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__91);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__92);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__93);
l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94 = _init_l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_analyzeAtom___redArg___closed__94);
l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0 = _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__0();
l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1 = _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1();
lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__1);
l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2 = _init_l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2();
lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_Tactic_Omega_lookup_spec__11___redArg___closed__2);
l_Lean_Elab_Tactic_Omega_lookup___closed__0 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__0();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__0);
l_Lean_Elab_Tactic_Omega_lookup___closed__1 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__1);
l_Lean_Elab_Tactic_Omega_lookup___closed__2 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__2);
l_Lean_Elab_Tactic_Omega_lookup___closed__3 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__3);
l_Lean_Elab_Tactic_Omega_lookup___closed__4 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__4);
l_Lean_Elab_Tactic_Omega_lookup___closed__5 = _init_l_Lean_Elab_Tactic_Omega_lookup___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_Omega_lookup___closed__5);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
